ASP.NET MVC 3 : DLLs needed to run app on Windows Azure

Άρθρο από George Chatzimanolis Tue, 14/12/2010 - 19:14

If you develop any ASP.NET MVC 3 application (which currently is in RC 2 release) with Razor view engine and you need to run it on Windows Azure then you have to upload some extra DLLs to the cloud. Below is a list of DLLs you need to have as local copies to get ASP.NET MVC 3 run in Windows Azure web role. Have also in mind that if your project uses dynamically loaded assemblies that are not referenced in you project you have to also include them as project items under bin folder. By doing this these DLLs are included to deployment package so you don’t have to create code level references to them.

List of assemblies:

  • Microsoft.Web.Infrastructure
  • System.Web.Helpers
  • System.Web.Mvc
  • System.Web.Razor
  • System.Web.WebPages
  • System.Web.WebPages.Razor
  • WebMatrix.Data

You can find Razor and ASP.NET Web Pages related assemblies in that folder:

C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\

Or if you have x64 OS (as I do)

C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options