- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
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.
-
The overall design and a first look at the internals
A deep dive on StringBuilder - Part 1
In this post I take an initial look at the StringBuilder type, show how it's designed, and dive into the source code to see how it works…
-
A deep dive on StringBuilder
In this series I look at the source code behind StringBuilder, show how it is used to reduce allocations, and dig into some internal optimisations…
-
Benchmarking 4 reflection methods for calling a constructor in .NET
In this post I compare several different ways to call a constructor using reflection, and benchmark them to see which is fastest.…
-
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.…
-
Making the calculator thread-safe
Creating a Simple Moving Average calculator in C# - Part 2
In this post I show how to create a thread-safe version of a Simple Moving Average calculator in C#…
-
A Simple Moving Average calculator
Creating a Simple Moving Average calculator in C# - Part 1
In this post I show how to create a (very) Simple Moving Average calculator in C#…