Objective
- Remove the X-AspNetMvc-Version HTTP header
To remove the X-AspNetMvc-Version HTTP header, add the following code to the Application_Start method in the Global.asax.cs file:
protected void Application_Start(object sender, EventArgs e) { MvcHandler.DisableMvcResponseHeader = true; // RegisterRoutes etc... and other stuff }