My new book ASP.NET Core in Action, Second Edition is available now! It supports .NET 5.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
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.…
In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…
In this post I show how I fixed some issues I encountered when installing the .NET Core 1.1.0 preview 1 SDK. The 1.1.0 RTM is out now, but it still applies!…
This post explores the GetOrAdd function of ConcurrentDictionary, the level of thread safety it provides, and ways to add additional threading constraints.…
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.…
This post is a follow on to one by Steve Gordon, in which I show a clean way to use configured services when setting up MvcOptions when calling AddMvc.…
Stay up to the date with the latest posts!