What is inside Rate Limiting for .NETThe Rate Limiting API debuted in .NET 7. It implements several popular algorithms for limiting the number of requests to a shared resource. This API is typically promoted as a part of a built-in rate-limiting ASP.NET Core middleware. However, the API itself doesn’t depend on ASP.NET and has a broader scope....
Introducing Awesome .NET TestingI have a confession to make. I love writing automated tests. That’s why I’ve created a curated list of awesome .NET libraries and tools that help ensure code quality through automated testing...
Designing HTTP API clients in .NETIn this post, I describe a scalable architectural approach to building typed HTTP API clients for ASP.NET Core applications. I discuss how following this approach can contribute to API testability and maintainability. I provide some practical examples and highlight common pitfalls...
Nested validation in .NETIn this blog’s opening post, I discuss the problem of validating nested Data Transfer Objects in modern .NET. Nesting simply means that the root object can reference other DTOs, which in turn can reference others and so on, potentially forming a cyclic graph of unknown size...