How To: Create and publish a website to Azure in less than 3 minutes

Visual Studio has really great integration with Azure Websites and it is now very easy to create a brand new responsive, modern website and have it published to Azure in less than 3 minutes.

You can do the whole thing from within Visual Studio - including the configuration of your Azure website.

To try this out, follow these steps

  1. If you don't already have Visual Studio 2013 (or 2015), get Visual Studio 2013 Community Edition, the new free edition from
  2. If you do not already have an Azure subscription, start a trial:
  3. In Visual Studio, go to File > New > Project > Web Application
  4. Choose MVC and make sure that 'Host in the cloud' is enabled
  5. Sign in with your Azure subscription if prompted
  6. Setup your Azure website options including your unique URL and the region you want to host the website in (Dublin is North Europe)
  7. When the project has been created in Visual Studio, right click the project and choose Publish
  8. Accept all the defaults and click Publish. This will upload all the files to your newly created Azure website and load it in your default browser

See a short video of these steps here:

At this point, you are done! You've created a modern, responsive MVC website and published it to Azure. The best thing is that the site can stay in azure for as long as you like for free (we're nice like that at Microsoft). #happydays

Cloud Hero Challenge: Share your experience and win a t-shirt and possibly a Surface Pro, Xbox or holiday!

Fancy a free t-shirt and a chance to win a Surface Pro 3, Xbox One or Holiday? if you do this by Friday 19th December, you qualify for the 'Cloud Hero Challenge' where you can win a t-shirt just for entering (this guide qualifies for 'Provision a highly available, scalable website in less than 1 hour').

If you share your experience in participating in the challenge, you have a chance to win a Surface Pro 3, Xbox One or a holiday. Sound good?

Comments (0)

Skip to main content