Skip to main content
Blog

Hey, I'm Steven a .NET Developer in Switzerland. I am a Microsoft MVP. Also, this blog is open source on GitHub.

Older Posts

Preview image blogpost

LINQ MindMap: .NET 9 Edition

After my first LINQ MindMap: Here is an updated version that includes everything up until .NET 9.

Read article

Preview image blogpost

Garbage Collector (over)simplified

  • 2/11/2024
  • 1 minute read

In this blog post, a small and (over)simplified infographic on how the Garbage Collector works.

Read article

Preview image blogpost

SearchValues object become better with .NET 9

SearchValues, which were introduced with .NET 8 will become an upgrade and becomes more usable! Let's see how.

Read article

Preview image blogpost

Three new LINQ methods in .NET 9

Even though we are in the alpha of .NET 9 and .NET 8 was released not more than two months ago, the dotnet team does not sleep and pushes new changes! In this blog post, we are checking what new methods were added to everyones favorite: LINQ.

Read article

Preview image blogpost

A replacement for BinaryFormatter in .NET 8

In the old .NET Framework days, you could use the BinaryFormatter class to serialize and deserialize objects. This can be convenient for cloning or storing some session states. As the BinaryFormatter has some serious security concerns, the .NET team marked it as obsolete (as error) in .NET 7 and onwards.

Read article

Preview image blogpost

An alternative to AutoMapper

I am not the biggest fan of AutoMapper. It starts with good intentions but often ends up being a big mess. I have seen it used in many projects, and the configuration of the mappings is often scattered all over the place, and or they are huge!

Read article

Preview image blogpost

Const strings are not so const after all

We know the const keyword with strings - but are they really constant after all? Or can we use some tricks to modify them? Let's see.

Read article

Preview image blogpost

An asynchronous lock free ring buffer for logging

In this blog post, I showcase a very simple lock-free ring buffer for logging. I'll show why it's useful and how it works.

Read article

Preview image blogpost

A new lock type in .NET 9

There is a new sheriff in town when it comes to the lock keyword, And that is the new System.Threading.Lock type that is introduced in .NET 9. And yes, I know - we still need time to digest the big .NET 8 release.

Read article

Preview image blogpost

The first possible new feature of C# 13: Params collection

Only one month after the big release of .NET 8, the dotnet team is already working on the next iteration: .NET 9. With that also comes new language features. The first one is about to be merged into the main development branch: Params Collections.

Read article

An error has occurred. This application may no longer respond until reloaded.Reload x