Welcome to EMC Consulting Blogs Sign in | Join | Help

Shailen Sukul's Blog

Building an MVC App with Azure

Summary

In this article, we will create an deploy an ASP.Net MVC application and deploy it to Azure.

  • Download and install the Visual Studio Azure tools from here
  • Get an Azure account if you do not already have one (optional)
  • Open Visual Studio and choose File –> New –> Project
  • Select “Windows Azure Project”

SNAGHTML1aa8d728

  • Select ASP.Net MVC 4 Role

SNAGHTML1aaa0ef9

image

  • Right-click on MvcWebRole1 and click on Properties

image

  • In the project settings for WindowsAzureProject1, ensure that “Use the Windows storage emulator” is selected

image

  • Add a new controller called HomeController to the MVC project

SNAGHTML1ab77460

  • Add a new folder called Home under the Views folder
  • Add a new view called Index under the home folder

SNAGHTML1abc8b3a

  • Press F5 to run the application and you should see your test page appear in the Azure emulator

image

Keywords: Windows Azure ASP.Net MVC
Published 07 October 2011 15:37 by shailen.sukul
Filed under:

Comments

No Comments
Anonymous comments are disabled

About shailen.sukul

Driven, passionate architect/developer driven by the need to engineer and develop solutions to address business needs. Brings a wealth of talent from most verticals to across the entire Microsoft development and infrastructure stack. Highly motivated and experienced not only in technology but client presentation and sales pitches. Ability to present in front of small and large audiences and present complex ideas in a "people friendly" way.
Powered by Community Server (Personal Edition), by Telligent Systems