Blog · 11 posts
Notes on .NET, messaging & the cloud
Write-ups from building distributed systems in C#: message buses, sagas, testing, and AWS. Earlier posts first appeared on Code Maze.
LatestJavascript
I built a game that teaches Vim motions: what I got wrong about teaching a modal editor
Most developers I know have the same relationship with Vim: they learned just enough to exit it, and never went further. I wanted to fix that, so I built Vimrealm.
By Michał KamińskiRead post
2024
5 posts- MessagingComparison of Rebus, NServiceBus, and MassTransit in .NETA comparison of popular .NET messaging libraries — Rebus, NServiceBus, and MassTransit — covering their use in scalable and distributed applications.
- MessagingImplementing the Saga Pattern Using Rebus and RabbitMQA technical guide on implementing the Saga Pattern using Rebus and RabbitMQ in a .NET environment.
- ASP.NET CoreHow to Register Multiple Implementations of the Same Interface in ASP.NET CoreA guide on how to effectively register and use multiple implementations of the same interface in ASP.NET Core dependency injection.
- C#Comparing Performance of the switch and if-else Statements in C#A comparative performance analysis of switch and if-else control flow statements in C#, supported by benchmarks and compiler optimization insights.
- C#Difference Between Select and SelectMany Methods in LINQAn exploration of the Select and SelectMany LINQ methods in C# for efficient data querying and collection management.
2023
5 posts- C#ConcurrentQueue in C#An in-depth look at the ConcurrentQueue class in C#, covering its concepts, usage, and role in ensuring thread safety and parallelism.
- TestingHow to Mock IOptions in ASP.NET CoreIn this article, we’ll unveil a straightforward approach to mock IOptions<T>, ensuring our tests remain both thorough and independent of real-world configurations.
- MessagingSaga Pattern With NServiceBus in C#A technical guide on implementing the Saga Pattern using NServiceBus in a .NET environment.
- ASP.NET CoreSwashbuckle vs. NSwag in ASP.NET CoreIn this article, we will explore the two popular libraries for generating OpenAPI documentation in C#: Swashbuckle and NSwag.
- C#Short Circuit Evaluation of IF Statements with Await in C#In this article, we are going to look at what exactly short circuit evaluation is in C# and how asynchronous calls are affecting it.