Community

Adding host filtering to Kestrel in ASP.NET Core

(Andrew Lock) Host filtering, restricting the hostnames that your app responds to, is recommended whenever you’re running in production for security reasons. In this post, I describe how to add host filtering to an ASP.NET Core application.