[Editor's note: Peter rewrote this article after a reader pointed out he over-engineered his original solution. ("What can I say: The code worked -- I just didn't need nearly as much code as I thought ...
Take advantage of action filters in ASP.NET Core MVC to execute custom code at specific points in the request pipeline Filters in ASP.NET Core MVC allow us to execute code before or after specific ...
Take advantage of security headers in ASP.NET Core MVC 5 to protect your website against cross-site scripting, code injection, clickjacking, and other attacks. ASP.NET Core MVC 5 is a lightweight, ...
In ASP.NET MVC Core the BundleConfig class -- where, in ASP.NET MVC, you used code to create script bundles in ASP.NET MVC -- is gone. Instead, you use a configuration file called bundleconfig.json to ...