A Sample API project to demonstrate the configuration and usage of Redis cache in an ASP.NET Core (.NET 5) application space. Redis is a popular caching sever implementation that offers several features such as caching, event triggers, distributed caching and so on.
- Onion Architecture with layers for Contracts, Infra and API separated
- Swagger UI
- Dapper implementation
- Repository pattern
- SQLite database integration
- Entire solution is built on the latest .NET 5 project types
- Demonstration of configuring Redis
- Demostration of using DI to inject Redis cache service and create a lazyloading cache