I try to remove the Http header X-AspNetMvc-Version. I added this in Global.asax:
void Application_Start(object sender, EventArgs e)
{
MvcHandler.DisableMvcResponseHeader = true;
}
but it doesn't work. In Firefox I can see X-AspNetMvc-Version: "5.1".
What am I doing wrong?
MvcHandler.DisableMvcResponseHeaderlater on? Is it still set totrue?