1
Reply

Remove response header content

Abhishek Kumar

Abhishek Kumar

Feb 23 2016 7:05 AM
449
When i remove response header content in mvc it doesn't remove server:Microsoft-IIS/10.0 Why?
 
i am using
in <web.config>
<httpRuntime targetFramework="4.5.2" enableVersionHeader="false" /> 
and App_Start()
{
   MvcHandler.DisableMvcResponseHeader = true; 

Answers (1)