Response Caching with MediatR in ASP.NET Core

In this article, we are going to implement Response Caching with MediatR in ASP.NET Core using its awesome Pipeline Behaviours. This means that every response that is sent out of your application (API) will be cached with a very simple implementation. I have written a couple of articles about MediatR and why it’s one of the MUST USE libraries for .NET devs. This library simplifies your Application to an extent yet gives you complete control.Topics Covered1. What’s Response Caching with MediatR?2. What we will build?3. Getting started with Caching with MediatR in ASP.NET Core4. Adding the ICacheableMediatrQuery interface5. Cache Setting – appSettings6. Implementing the Caching Behavior – Explained7. Building the CQRS Handlers8. Testing with SwaggerRead the entire article: https://ift.tt/3z1Q52R via /r/dotnet https://ift.tt/3w3J7sg
Categories: Uncategorized