To complete this article, you need a Microsoft Azure account, and to get a free account, click here. If you’re new to Azure, I recommend reading Introduction to Microsoft Azure.
The following are some of the requirements, which are required to complete this article.
- Visual Studio 2015 Update 1 (Community or Enterprise edition).
- ASP.NET Core
- Git for Windows
Open up Visual Studio IDE.
Subsequently, click on File menu, select New, followed by Project.
To select ASP.NET Core Web app project template, click Visual C#, followed by Web. Now, provide the application's name and tick Add to source control. Subsequently, click Ok.
In New ASP.NET Project creation wizard, select ASP.NET Empty Project template and click OK.
Deploying Web App
It takes about 15 seconds to create an Application. Once app creation completes, deploy an Application locally by navigating to Debug ->Start Debugging or simply Press F5 for one click deployment.

Note:
Your default debug option is IIS Express. Click Dropdown, which is next to IIS Express and change that debug option to your project debug option. There, you will be able to find your Application name.
Congrats, now our Application is deployed and the output is projected in the Web Browser.

To stop debugging your Application, click stop debugging icon, which is available in Visual Studio app bar.
Creating Web App in Azure Management Portal
Login into Azure management portal.
Click New and then Web+Mobile, followed by click Web app to create a Web app account in Azure.
Provide all the required credentials such as name, subscription, resource group and click create.
Name – Provide the valid name for your Web Application, which you are going to create. Obviously, it is a URL to access the Web Application.
It takes some time to start creating a web application in Windows Azure. Once the provision is successful, you will land in the Overview page of your Web Application.
Configuring Deployment Source
Login into Azure management portal.
Open up your Web Application by clicking on Browse >> Web apps >> select your Application, which is listed on the Web app blade.
In the Web app overview page, click Settings if it is not opened, otherwise omit this step, as it is optional.
In the settings blade, scroll down and find deployment source under app development. Click it and click to choose a source. Click Local Git Repository. Once deployment Source is selected, click OK.

Again, open up deployment source, where you will be able to find Disconnect option, since our Application is linked with Local Git deployment source.



Comments
Join the conversation! Your thoughts help the community grow.