-
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. You even get a free copy of the previous editions of ASP.NET Core in Action!
-
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…
-
Analyzers for ASP.NET Core in .NET 6
Exploring .NET 6 - Part 7
In this post I look at the analyzers that come built in with ASP.NET Core, including updates to existing analyzers, and new minimal hosting API analyzers.…
-
Supporting integration tests with WebApplicationFactory in .NET 6
Exploring .NET 6 - Part 6
In this post I look at the changes that were made to WebApplicationFactory<T> to support minimal hosting APIs with WebApplicationBuilder in .NET 6…
-
Supporting EF Core migrations with WebApplicationBuilder
Exploring .NET 6 - Part 5
In this post I describe how HostBuilder had to be updated to support the EF Core tools after the introduction of WebApplication and WebApplicationBuilder…
-
Building a middleware pipeline with WebApplication
Exploring .NET 6 - Part 4
In this post I look at some of the code behind WebApplication, and focus on how the middleware and endpoints are configured…