It has been a while that I wrote a post in here.. been busy days 😅
This is the era of tons of information over WWW and new topics / services are born everyday. And for me, the only logical way to learn some new cool things in this fast paced industry is to Learn by doing.. and thus, back to sharing what I am doing 😃
Today's learning's:
This is the era of tons of information over WWW and new topics / services are born everyday. And for me, the only logical way to learn some new cool things in this fast paced industry is to Learn by doing.. and thus, back to sharing what I am doing 😃
Today's learning's:
- Azure DevOps (VSTS transformed into DevOps now)
- Azure Windows Web App (as a service)
- Azure SQL database
- Git Push from Visual studio 2017
If you have a Azure account (can also easily create a free account for one time use), one of the first things which will pop up when you login to https://portal.azure.com/ is to Create DevOps project
So I created a new DevOps project and went through the UI experience/suggestions and created a new Windows Web app.
Once I finished the process, Azure will automatically create several resources for me.
1. An Azure DevOps project was create - https://dev.azure.com/ajit0705/avadna
2. Also the Sample ASP.net Application is also loaded into my Repos
3. Also generates the first build in DevOps
4. Also queues the release to the automatically created pipeline
5. And also all the Azure resources required to support Web App as a service are also created in the background
And all this is done in matter of few mins.
So all I now have to concentrate on just building my website without worrying about anything else.
With Git in place, which is new to me as I have been always working with TFS and VSTS together with AX and Dynamics 365 F&O, the next step is to Clone the repository which was created automatically for you on-to your local computer and start making changes to the ASP.net solution.
Also you connect to the Azure database server from VS to proceed
Once you make your changes in your local repository, you need to push the changes to Azure DevOps and this is very easy to do from VS 2017.
1. You will notice the number of changes in the bottom-left corner of VS
2. Once you click on the small pencil icon, you will be taken to Team explorer showing all the changes you have made.
Where you can add a comment to identify the purpose of the change and click Commit all.
3. You will notice a pop-up will mentions that your changes have been committed locally now. However needs to be synced with server to push the change into the DevOps Repo.
4. Also you can notice the up-arrow (as there is only changes from local to server to be synced) in the bottom-left corner of VS which indicates that they local commits are yet to be synced with server. Click on it.
5. In the Team explorer - Synchronization; just push the changes
The next cool thing done by Azure DevOps is Automatic Build and Release after every new Push to the Server. Thus the site will be updated automatically if there is not failures in the release.
So if you have Azure subscription already, just try this out - End-to-end the whole process won't take more than 45 mins and you get to learn so much 😇
Work hard! Cheers....
No comments:
Post a Comment