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!
In this post I show how to log MVC-specific properties like ActionName or RazorPage HandlerName when using Serilog.AspNetCore's request logging middleware…
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.…
In this post I describe how you can use Serilog.AspNetCore to reduce the number of logs generated by every request in ASP.NET Core 3.0…
In this post I describe a change in ASP.NET Core 3.0 that means startup messages use structured logging…
In this post I introduce the Serilog.Extensions.Hosting package, discuss why it's necessary, and describe how to use it to add Serilog to a generic host app…
Stay up to the date with the latest posts!