I recently installed the new ASP .NET MVC 3 framework I could start checking out some of its new features. Unfortunately, most of the shared hosting platforms out there (Godaddy, etc.) do not yet support ASP .NET MVC 3 and typically don't provide a time-frame for when they will make it available to their customers. This is an obvious problem for anyone wanting to use their existing Windows hosting accounts to host one of their newly created ASP .NET MVC 3 projects.
Luckily, there is a workaround if your host already supports some level of ASP .NET MVC. Most shared Windows hosting accounts already support ASP .NET MVC 2 by now, and if they don't, then you are probably better of finding a new host.
In order to get your ASP .NET MVC 3 application working with your existing Windows hosting account you simply need to package some of the MVC 3 assemblies from your development machine along with your web application. The following DLLs should be added to the
~/bin directory of your MVC 3 application.
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies
Microsoft.Web.Infrastructure.dll System.Web.Helpers.dll System.Web.Razor.dll System.Web.WebPages.Deployment.dll System.Web.WebPages.dll System.Web.WebPages.Razor.dll
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\
NOTE: these paths are for 64-bit versions of Windows. If you are still running 32-bit Windows, simply remove the
(x86) after Program Files.
Did this work for you? Let me know!