Quantcast
Viewing latest article 38
Browse Latest Browse All 663

Removing the IIS Server Request Header from ASP.NET Core Apps (any version)

ASP.NET Core applications that run on IIS as InProcess output an Server name for IIS into the HTTP headers. If you want to remove the server header, you'll find that the process for IIS is different than for the internally created Kestrel header and you can't use the same approach to remove the header as with Kestrel applications. In this post I discuss why the header behaves differently in IIS and how to remove it regardless of ASP.NET version.

Viewing latest article 38
Browse Latest Browse All 663

Trending Articles