site image
Andrew Lock avatar

Andrew Lock

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

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    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.

  4. Banner image for C# 14 extension members; AKA extension everything

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

     in  .NET 10C#
  5. Banner image for Behind the scenes of dotnet run app.cs

    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…

     in  .NET 10C#Source Code Dive
  6. Banner image for Exploring the features of dotnet run app.cs

    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…

     in  .NET 10C#
  7. Banner image for Supporting multiple .NET SDK versions in a source generator

    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…

     in  Source GeneratorsC#
  8. Banner image for Supporting multiple .NET SDK versions in analyzers and source generators

    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…

     in  Source GeneratorsC#
  9. Banner image for Accessing MSBuild properties and user configuration from source generators

    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…

     in  Source GeneratorsC#
Andrew Lock | .Net Escapades
Want an email when
there's new posts?