- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
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.
-
Source generator updates: incremental generators
Exploring .NET 6 - Part 9
In this post I look at the updates to the source generator API in .NET 6, why the changes were made, and how to update your source generators to use them.…
-
Improving logging performance with source generators
Exploring .NET 6 - Part 8
In this post I look at the subtleties of using ILogger and discuss the new source generator that can give performance benefits without the boilerplate…
-
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.…
-
Reducing log verbosity with Serilog RequestLogging
Using Serilog.AspNetCore in ASP.NET Core 3.0 - Part 1
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…