- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Url culture provider using middleware as filters in ASP.NET Core 1.1.0
Adding a URL culture provider using middleware as filters - Part 2
In this post I show how you can use the 'middleware as filters' feature of ASP.NET Core 1.1.0 to easily add request localisation based on URL segments…

Exploring Middleware as MVC Filters in ASP.NET Core 1.1
Adding a URL culture provider using middleware as filters - Part 1
This post takes a look at the code behind the 'Middleware as Filters' feature that is coming to ASP.NET Core, looking at how the feature is implemented.…

Adding a URL culture provider using middleware as filters
In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…

Adding Cache-Control headers to Static Files in ASP.NET Core
In this post I'll show how you can add caching headers to the files served by the StaticFileMiddleware to increase your site's performance.…

Forking the pipeline - adding tenant-specific files with SaasKit in ASP.NET Core
In this post I show how we can fork the ASP.NET Core middleware pipeline to allow serving tenant-specific files using SaasKit and some custom Middleware.…

How to add default security headers in ASP.NET Core using custom middleware
In this post I'm going to show how you can easily extend the existing middleware to add additional security headers, like X-Frame-Options, to your requests.…

