Code Maze Author

Michal Kaminski

Michal is a seasoned .NET backend developer with over 10 years of expertise in this field. He has also demonstrated proficiency in cloud technologies, having spent over 8 years working with AWS to develop and maintain robust systems. Currently, Michal is deeply involved in the development of a highly-available and scalable e-commerce system.
Also find me here:

MY ARTICLES:

Implementing the Saga Pattern Using Rebus and RabbitMQ

In this article, we provide a technical guide on implementing the Saga Pattern using Rebus and RabbitMQ in a .NET environment. Rebus is a .NET library designed to create distributed applications with messaging capabilities, simplifying the process of sending and...

Comparing Performance of the switch and if-else Statements in C#

In this article, we delve into the performance nuances of switch and if-else statements in C#, two pivotal control flow mechanisms. Through a comparative analysis, we'll explore how each statement impacts application performance under various conditions, supported by...

Select vs SelectMany in C# LINQ: The Difference

Select() transforms each element into one new element. SelectMany() transforms each element into a sequence of elements, then concatenates those sequences into one flat result. That difference shows up in the count. Ten departments through Select() give us ten...

ConcurrentQueue in C#: Thread-Safe FIFO Queue

ConcurrentQueue<T> is a first-in-first-out collection that any number of threads can add to and take from at the same time, without a single lock in our code. It lives in System.Collections.Concurrent, it exposes three methods that matter (Enqueue(),...