- 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.
-
[CallerArgumentExpression] and throw helpers
Exploring .NET 6 - Part 11
In this post I describe the new C# 10 attribute, [CallerArgumentExpression], and show how it's used in .NET 6 to create a throw helper for ArgumentNullException…
-
New dependency injection features in .NET 6
Exploring .NET 6 - Part 10
In this post I talk about some of the new features added to the DI libraries in .NET 6, as well a performance feature that didn't make it in.…
-
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…