The Mediator Pattern In .NET Core

A couple of years back, I had to help out on a project that was built entirely using the “Mediator Pattern”. Or more specifically, built entirely using the MediatR library. There were all these presentations about the “theory” behind the Mediator Pattern and how it was a real new way of thinking. I couldn’t help but think… We’ve been doing […]

Cache Implementations in C# .NET

One of the most commonly used patterns in software development is Caching. It’s a simple, but a very effective concept. The idea is to reuse operation results. When performing a heavy operation, we will save the result in our cache container. The next time that we need that result, we will pull it from the cache container, instead of performing […]

Series: Writing High-Performance C# and .NET Code

I am interested in reading this series on this link This series explores modern C# and .NET/.NET Core techniques and features which support writing more performance, low allocation code. Posts in this series: Part 1: Motivations for Writing High-Performance C# Code Part 2: Introduction to Benchmarking C# Code with Benchmark .NET Part 3: An Introduction to Optimising Code […]

Writing Testable & Clean Code

Many developers have a hate relationship with testing. However, I believe the main cause of that is code that is highly-coupled and difficult to test. This post states some principles and guidelines that can help you write easily-testable code, which is not only easier to test but also more flexible and maintainable, due to its better modularity. Here […]

1 2 3 5