- 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 Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>](/content/images/2026/readonlyspan_banner.png)
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…

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…

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…

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…

