Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Hosted-services / Azure

Deploy Azure Website

0.00/5 (No votes)
12 Jul 2015CPOL1 min read 4.6K  
Deploy Azure website

This article is an entry in our Microsoft Azure IoT Contest. Articles in this section are not required to be full articles so care should be taken when voting.

There are quite a few ways to deploy your Azure website using Visual Studio, but I find the following the easiest.

Create a vanilla website in Azure. This is my destination site where I will deploy all my changes.

vanillaweb

Once you have created a website in Azure, try accessing it from your browser.

webcreated

You should see a welcome page similar to this.

accessweb

Next step is to make changes and deploy them to your website.

Let’s say you have to change the way your website looks.

Create a new ASP.NET web application using Visual Studio.

newweb

Once you have done your changes and are ready to deploy to Azure, navigate to https://manage.windowsazure.com

Find your web app and click on it to go to the dashboard page.

dashboard

Click on Download the Publish profile link to download the publishing profile file.

pubprofile

Move back to Visual Studio and right click on your web application and click on Publish.

vspublish1

You will find a dialog box like this. Click on Import.

importclick

Browse to the publish profile file you downloaded from Azure and import the file. You should see all the details auto populate in the dialog box as shown below.

autopop

Click on publish to start the deployment process.

pubsuccess

Navigate to your website to see the changes deployed.

websuccess2

Continue this process for continuous deployment from Visual Studio.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)