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 Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>

    Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>

    In this post I describe how to remove static byte[] allocations, even on .NET Framework, by using Span<T>, look at the associated IL, and discuss the risks…

     in  C#Performance
  5. Banner image for System.Diagnostics.Metrics APIs

    System.Diagnostics.Metrics APIs

    In this series I look at the APIs that are part of the System.Diagnostics.Metrics namespace, showing how they work and how to use them…

     in  Observability.NET CoreC#
  6. Banner image for Creating a .NET CLR profiler using C# and NativeAOT with Silhouette

    Creating a .NET CLR profiler using C# and NativeAOT with Silhouette

    In this post I look at how to create a simple .NET profiler. But instead of using C++, the profiler uses C# and NativeAOT with the Silhouette library…

     in  .NET CoreC#PerformanceNative AOT
  7. 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#
  8. 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
  9. 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#
Andrew Lock | .Net Escapades
Want an email when
there's new posts?