Pattern matching is a powerful feature introduced in C# 7 that has only grown in capability with each new release. With C# 9, Microsoft has taken it to the next level by introducing recursive pattern matching, allowin…
Introduction In modern software development, effective logging is crucial for monitoring and debugging applications. While many logging frameworks are available, sometimes you need a custom solution tailored to your specific…
Filtering collections of data is a common task in software development. Often, you need to filter a collection of objects based on specific criteria or conditions. In this blog post, we’ll explore how to filter a collection o…
Concurrent access to shared resources like databases is a common challenge in software development. To ensure data integrity and prevent conflicts, synchronization mechanisms like semaphores are crucial. In this blog post, we’…
JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write. When working with C# and .NET, one of the most popular libraries for handling JSON data is Newtonsoft.Json …
Building a Simple API Gateway in C# with ASP.NET Core API Gateways are an essential part of modern microservices-based architectures. They act as intermediaries between clients and multiple backend services, providing a unif…