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

Creating and consuming metrics with System.Diagnostics.Metrics APIs
System.Diagnostics.Metrics APIs - Part 1
In this post I provide an introduction to the System.Diagnostics.Metrics API, and show how to create a custom metric and read it with dotnet-counters…

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…

Supporting platform-specific .NET tools on old .NET SDKs
Exploring the .NET 10 preview - Part 8
In this post I look at the advantages, trade-offs, and implications of the new platform-specific .NET tool feature added in .NET 10, and how to support old SDKs…

Extending the calculator implementation
Creating a Simple Moving Average calculator in C# - Part 3
In this post I look at the final implementation of the thread-safe calculator to support recording an average rate and improve performance.…

Creating a Simple Moving Average calculator in C#
In this short services, I describe how I built a Simple Moving Average calculator in C#…

