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 describe how to customise the output of the Serilog Console sink so that you can pipe your console output to Elasticsearch using Fluentd.…
In this post I show how to disable the startup messages shown in the console when you run an ASP.NET Core application using WebHostBuilder or HostBuilder.…
In this post I describe two extension methods that make logging scopes as key-value pairs nicer in ASP.NET Core, by using anonymous types and tuples.…
In this post I describe a small extension method that makes logging scopes as key-value pairs in ASP.NET Core with Serilog and Seq a little nicer.…
In this post I introduce the concept of scopes in ASP.NET Core, how exceptions can cause you to lose a scope, and how to get round this using a neat trick.…
In this post I'll show how to create an ILoggingProvider for ASP.NET Core that writes logs to the file system, based on the Azure App Service provider.…
Stay up to the date with the latest posts!