MVC 3 Razor on a Shared .NET Host
Required:
- Visual Studio 2010 SP1 [microsoft.com/downloads/en/…]**
- IIS Manager for Remote Administration [www.iis.net/download/iismanager]**
- ASP.NET 4, MVC 3 hosting. I use winhost.com.
** Get using Web Platform Installer
The following steps are needed to deploy the MVC3 and Razor libraries to the shared server for the application to run. This is a new feature you get when you update your Visual Studio to SP1.
To get your MVC project running on the host, prepare it by right clicking on it in the solution explorer and select Add Deployable Dependencies.
Then you will get a dialog to select the dependencies you want to include when you deploy the web app. Select both ASP.NET MVC and ASP.NET Web pages with Razor syntax.
Knowledge Base > WinHost > IIS7 > Using the Microsoft IIS 7.0 Manager