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

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

Excluding health check endpoints from Serilog request logging
Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 4
In this post I show how to skip the summary log for some requests when using Serilog.AspNetCore's request logging middleware…

Logging MVC properties with Serilog.AspNetCore
Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 3
In this post I show how to log MVC-specific properties like ActionName or RazorPage HandlerName when using Serilog.AspNetCore's request logging middleware…

Logging the selected Endpoint Name with Serilog
Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 2
In this post I show how to add extra details to Serilog.AspNetCore's request logging middleware, such as the host name or the selected Endpoint name.…

