- 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.

Don't replace your View Components with Razor Components
In this post I take a brief look at Razor Components, and whether you should consider using their static render mode instead of View Components.…

Creating a custom ErrorHandlerMiddleware function
In this post I show how to customise the ExceptionHandlerMiddleware to create custom responses when an error occurs in your middleware pipeline…

When ASP.NET Core can't find your controller: debugging application parts
In this post I describe application parts, how ASP.NET Core uses them to find the controllers in your app, and how to list them.…

Creating an endpoint from multiple middleware in ASP.NET Core 3.x
In this post I show how you can create a composite endpoint in ASP.NET Core 3.x, by combining multiple middleware into a pipeline as your endpoint.…

Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 2
In this post I show how, as a library author, you can insert middleware into a consumer's pipeline between the call to UseRouting and UseEndpoints.…

Inserting middleware between UseRouting() and UseEndpoints() as a library author - Part 1
In this post I show how, as a library author, you can insert middleware into a consumer's pipeline between the call to UseRouting and UseEndpoints.…

