Resolving ASP.NET MVC 2 RC 2 Installation Errors

On a Virtual Machine, I had Visual Studio 2008 SP1 installed along with ASP.NET 3.5 SP1. I tried installing the newly released ASP.NET MVC 2 Release Candidate 2 on that machine and received the following: The project file ‘<project path and name>’ cannot be opened. The project type is not supported by this installation. To resolve this, ensure that the VS 2008 tooling support for MVC 2 is installed in Add/Remove Programs. Regardless, uninstall all MVC 2 installations (should be 2 items in add/remove programs if the previous is the case). Then reboot your machine and reinstall. It should work … Continue reading Resolving ASP.NET MVC 2 RC 2 Installation Errors

DYK: You can remove the ASP.NET MVC version from the Response Header

Did you know that you can remove X-AspNetMvc-Version from the response header on your ASP.NET MVC web application? It’s actually quite simple to remove the MVC version from the response header within a web application. Open up the Global.asax file and add to the Application_Start method the following: MvcHandler.DisableMvcResponseHeader = true; That’s it. Hope that helps!