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

Posted by Wade on October 11, 2009

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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 …

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!

Incoming links

Comments (4)

  • 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.

  • Thanks for the feedback! Glad you enjoyed it!

  • 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

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

    Cheers, Wade

Do you have anything to say?