In this short tutorial we are going to see how to create and deploy an AzureWebsite to Windows Azure Cloud, without using Azure Management portal. Prerequisites for this tutorial is Windows Azure SDK 2.2, anyone can download it from Microsoft Windows Azure Downloads.
Please follow below steps –
Step 1 – Open Visual studio 2013 and expand Server explorer. Right click on Windows Azure Node. Click on Connect to Windows Azure.
Step 2 – Enter your Azure Credentials.
Step 3 – Right click on Websites node and click on Add new Site.
Step 4 – Enter name of the site you want to create and click Create.
Specified website will be created and listed as in websites node as shown below.
Step 5 – Now create a ASP.Net MVC (I prefer MVC 5) in VS 2013.
Step 6 – Right Click on the project and click Publish.
Click on Import option.
Select created website from the list and click ok. VS 2013 will automatically download
Click on Publish. Wed Deploy will be started and once completed, we have successful message in Output window.
Step 7 – Open the url in the browser.
That’s it. Without logging into Azure Management portal we created a Website in Azure and published ASP.Net MVC 5 application to it using Visual Studio 2013.