PreviousNext

Repository Pattern with Caching and Hangfire in ASP.NET Core

by iammukeshm, 2020-10-12T18:00:27.539Z

Here is an approach to speed-up your API Responses using the 3 Most Powerful Concepts in Programming, Repository Pattern + Caching + Hangfire Job Processing. Let's build a simple ASP. NET Core CRUD API that efficiently makes use of the above-mentioned techs keeping intact the data involved as well as minimizing the response times. Here are the topics covered. 1. Understanding the Requirement 2. Adding Entity Framework Core and Context 3. Add Caching Service 4. Single Interface with Multiple Implementations 5. Setting up Hangfire 6. Adding Repository Interfaces and Implementations 7. Wiring up with the API Controller 8. Testing with Postman

Read More