- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

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.
![Banner image for [CallerArgumentExpression] and throw helpers](/content/images/2021/throw_helpers_banner.png)
[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.…

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…

Exploring the code behind WebApplicationBuilder
Exploring .NET 6 - Part 3
In this post I look at the code behind WebApplicationBuilder, to see how it achieves the minimal hosting API while maintaining functionality.…

