profile

The Timeless .NET Newsletter

Learn the art of building robust and maintainable applications with less code. This newsletter does not focus on shiny C# features or the latest .NET APIs, but instead on the timeless art of building stuff that lasts, code that you will be proud of even 10 years from now.

Featured Post

Fast and Compact Structured Logging in C# Using String Interpolation

Fast and Compact Structured Logging in C# Using String Interpolation Greetings! In this iteration of the Timeless .NET Engineer newsletter, we are looking into some practical approaches to structured logging. You probably already know structured logging and C# string interpolation (and I wonder how we could live without that). But did you know that string interpolation and logging don’t play well together by default, both because it “cancels” the benefits of structured logging, and because it...

Greetings! In this first article of the Timeless .NET Engineer Newsletter, we will look into an evergreen design pattern: Decorator. It’s one of the oldest patterns, as it was already mentioned in the famous Gang of Four book. It allows you to extend the functionalities of a component without altering its code. Today, we will the primary techniques for implementing the decorator pattern in modern .NET while adhering to the Single Responsibility Principle (SRP) and avoiding boilerplate code....