Click here to Skip to main content
15,867,756 members
Articles / Hosted Services / Azure

Azure: How To Publish A Web Site From VS2013 to Azure

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
4 Nov 2014CPOL2 min read 17.9K   3   6
How to publish a web site from VS2013 to Azure

This is the first post in a series of beginners' articles on how to do things in Azure. This series will be for absolute beginners, and if you are not one of those, this will not be for you.

You can find the complete set of posts that make up this series here:

This time, we will be looking at how to create and publish a web site to Azure using the Azure web portal (there is a new version of this coming soon, but for now, it looks as shown below).

The first thing you will need is an Azure subscription, if you don’t have one of these, you will need to get one. Once you have that, you can sign into the portal.

Once you have signed into the Azure portal, you simply need to create a new web site. I personally use the “Quick Create” option, and then you need to pick the Url and region for the new site.

image

This will then create a new website place holder in Azure. You now need to go into the newly created place holder web site, which will take you into the Azure page for the new web site.

image

From there, you will be able to download the publish profile. This will be a single file which you should store somewhere where you will remember it.

image

Now you can go into Visual Studio 2013, and create a new website. I chose to go with one of the standard templates, where I simply altered the content a bit, such that I know the publishing step we will do later actually worked.

image

Once you are happy with your awesome web site, you can right click and use the “Publish Web Site” menu.

image

This will then present you with some choices. You can use the “Import” option, and then browse to the publish profile settings file you downloaded in the Azure web portal step.

image

All you then need to do is follow the wizard through, and make sure you click “publish” at the end and you should then end up with a lovely website hosted in Azure, as can be seen from the screen show below.

image

Not rocket science I know, but as I say, this is for absolute Azure beginners.

Image 8 Image 9

License

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


Written By
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2016
  • Codeproject MVP 2016
  • Microsoft C# MVP 2015
  • Codeproject MVP 2015
  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog

Comments and Discussions

 
GeneralIt's great having a beginner's article from an accomplished coder and author like you Pin
Duke Carey6-Nov-14 8:10
professionalDuke Carey6-Nov-14 8:10 
GeneralRe: It's great having a beginner's article from an accomplished coder and author like you Pin
Sacha Barber6-Nov-14 18:46
Sacha Barber6-Nov-14 18:46 
QuestionGreat Start! Looking forward to more. Pin
Neil Diffenbaugh6-Nov-14 7:36
Neil Diffenbaugh6-Nov-14 7:36 
AnswerRe: Great Start! Looking forward to more. Pin
Sacha Barber6-Nov-14 8:09
Sacha Barber6-Nov-14 8:09 
GeneralRe: Great Start! Looking forward to more. Pin
Neil Diffenbaugh6-Nov-14 8:21
Neil Diffenbaugh6-Nov-14 8:21 
GeneralRe: Great Start! Looking forward to more. Pin
Sacha Barber6-Nov-14 18:45
Sacha Barber6-Nov-14 18:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.