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:

1
MvcHandler.DisableMvcResponseHeader = true;

That’s it. Hope that helps!