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

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…

Making foreach on an IEnumerable allocation-free using reflection and dynamic methods
In this post I describe why foreach sometimes allocates, and show how you can use DynamicMethod and Reflection.Emit to go allocation-free…

Recent updates to NetEscapades.EnumGenerators: new APIs and System.Memory support
In this post I describe some recent changes to the NetEscapades.EnumGenerators source generator, including support for the System.Memory package and new APIs…

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…
![Banner image for Recent updates to NetEscapades.EnumGenerators: [EnumMember] support, analyzers, and bug fixes](/content/images/2022/enumgenerators_banner.png)
Recent updates to NetEscapades.EnumGenerators: [EnumMember] support, analyzers, and bug fixes
In this post I describe some recent changes to the NetEscapades.EnumGenerators source generator, including support for [EnumMember] and new analyzers…

Exploring the .NET boot process via host tracing
In this post we enable host tracing and use that to understand how a .NET app boots up via the dotnet muxer, hostfxr, and hostpolicy.dll…

