Add Windows Azure Web Role to your MVC project

The June 7th update to Windows Azure introduced two new services (Windows Azure Websites and persistent VMs), or Web Role and Worker Role:

Azure Web Role and Worker Role

Image 1 – Web Role and Worker Role


In this article I will show you how to add new Web Role to your project. As a project we will use simple MVC 4 application. I am using Visual Studio 2012. In second image we can see a tree of our new MVC 4 application: