Webcast: Running an ASP.NET MVC Web Application in Windows Azure

I have seen enough people ask about running ASP.NET MVC Web Applications in Windows Azure that I thought I’d put together a short, quick webcast that shows exactly the steps you need to take.  With the further ado …



Get Microsoft Silverlight


Get Microsoft Silverlight

Before you try this yourself, make sure you satisfy the following dependencies:

For those of you that have no desire to watch a four minute video, and would rather have a quick walkthrough, here you go:

  1. Create a blank cloud services project.  Do not add any roles to the project.
  2. Add a new ASP.NET MVC Web Application to the solution.
  3. Add  the ASP.NET MVC Web Application as a web role in the cloud services project.
  4. Add the Microsoft.ServiceHosting.ServiceRuntime.dll assembly to the ASP.NET MVC Web Application.
  5. Set the following MVC assemblies to Copy Local True.
    • System.Web.Abstractions
    • System.Web.Mvc
    • System.Routing
  6. Run the application.

I hope this helps!

5 Comments

  1. [...] This post was mentioned on Twitter by Victor O. Castro. Victor O. Castro said: RT @WadeWegner: Webcast: Running an ASP.NET MVC Web Application in Windows Azure (in < than 4 mins) http://bit.ly/1oz1Gw #azure #mvc #aspnet [...]

  2. mvlootman says:

    Really cool demo, showing how easy it is to develop a MVC application for Azure. I noticed that the site is still running!

    Cheers!
    Michiel.

  3. Wade says:

    Thanks for the feedback! Glad you enjoyed it!

  4. Dave says:

    Excellent demo, has been the best I have seen and easy to follow. Would you consider doing another but including setting up table storage in the next one? Thanks for your help

    dave

  5. Wade says:

    Thanks, Dave! Let me see what I can do about your request …

    Cheers, Wade

Leave a Reply