MVC 3 Razor on a Shared .NET Host

Required:

** Get using Web Platform Installer

Add Deployable Dependencies

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

Published by

Jim Frenette

Web Developer - views here are my own except those taken from people more clever than me.

Loading Disqus Comments ...
Loading Facebook Comments ...