- 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.

Form binding in minimal APIs
Exploring the .NET 8 preview - Part 7
In this post I discuss the new form binding support for minimal APIs, the current limitations and rough edges, and how to work with antiforgery tokens…

Keyed service dependency injection container support
Exploring the .NET 8 preview - Part 6
In this post I discuss the new "keyed service" support for the dependency injection container, introduced in .NET 8 preview 7…

Replacing method calls with Interceptors
Exploring the .NET 8 preview - Part 5
In this post I look at the C#12 feature, interceptors. I show how and why they're useful, and how the ASP.NET Core minimal API source generator uses them…

Exploring the new minimal API source generator
Exploring the .NET 8 preview - Part 4
In this post I take a look at the new minimal API source generator added in .NET 8 preview 3 to support AOT, and explore the code it generates.…

Comparing WebApplication.CreateBuilder() to the new CreateSlimBuilder() method
Exploring the .NET 8 preview - Part 3
In this post I look at the new WebApplication.CreateSlimBuilder() method, explore why it was introduced, and discuss how it differs from CreateBuilder().…

The minimal API AOT compilation template
Exploring the .NET 8 preview - Part 2
In this post I discuss the Ahead of Time (AOT) compilation coming in .NET 8, look at it's benefits and limitations, and look at the new AOT template…

