Performance Improvements when Microsoft upgraded their Exchange Online POP3 windows service to .NET Core 3.1 from .NET Framework

Microsoft saw awesome improvements across several metrics including CPU time when they upgraded their Exchange Online POP3 windows service to … Continue reading Performance Improvements when Microsoft upgraded their Exchange Online POP3 windows service to .NET Core 3.1 from .NET Framework

Amazing performance improvement in .NET 6 when creating one SortedDictionary from another

The performance improvements when cloning one SortedDictionary from another in .NET 6 compared to .NET 5 are amazing. I’m not … Continue reading Amazing performance improvement in .NET 6 when creating one SortedDictionary from another

Using declarations in C#8+ can allow us to dispose of resources correctly without increasing nesting levels

Since C#8 we can use single line using declarations which will allow us to dispose of resources at the end of … Continue reading Using declarations in C#8+ can allow us to dispose of resources correctly without increasing nesting levels

ToString() v nameof() performance comparison when getting a string value from a enum option

The benchmarks (originally published on LinkedIn) below from Guilherme Ferreira show’s that there’s a big performance difference between using ToString() and … Continue reading ToString() v nameof() performance comparison when getting a string value from a enum option

In C# use the nameof() expression so your property, class and namespace references are type safe

In C# if you’re referencing property, class or namespace names in your code use the nameof() expression rather than strings … Continue reading In C# use the nameof() expression so your property, class and namespace references are type safe