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

C# 14 extension members; AKA extension everything
Exploring the .NET 10 preview - Part 3
In this post I look at the C#14 extension members feature. I show how to convert extension methods to the new syntax and how to add new types of extension.…

Behind the scenes of dotnet run app.cs
Exploring the .NET 10 preview - Part 2
In this post I looks at how the new single-file .NET run experience is implemented inside the .NET SDK, focusing on how the virtual-project file is built…

Exploring the features of dotnet run app.cs
Exploring the .NET 10 preview - Part 1
In this post I discuss the new single-file .NET run experience, in which you can run a C# file directly, without needing a csproj project file…

Supporting multiple .NET SDK versions in a source generator
Creating a source generator - Part 14
In this post I show how I updated my NetEscapades.EnumGenerators projects to support multi-targeting two different .NET SDK versions…

Supporting multiple .NET SDK versions in analyzers and source generators
In this post I describe why source generators might need to work with multiple versions of the .NET SDK and how NuGet packages support this in .NET 6…

Accessing MSBuild properties and user configuration from source generators
Creating a source generator - Part 13
In this post I describe how to read MSBuild settings from inside a source generator, and how to use this to allow user configuration of your generator…

