no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
DI
A Simple Example of Using a Distributed Cache (Redis) in .NET 6 with API Endpoints
Following on from my previous post on using a memory cache, here I show how to use a distributed memory cache with Redis.
Jul 6, 2022
#
dotNet6
,
Caching
,
Distributed Cache
,
DI
,
Redis
,
Minimal API
A Simple Example of Using the Memory Cache in .NET 6 with API Endpoints
I have used the Microsoft memory cache many times in the past, but didn’t know how to use it with .NET 6 endpoints, so here is a blog post that should save you a little time if you haven’t done it before.
Jun 27, 2022
#
dotNet6
,
Caching
,
Memory Cache
,
DI
,
Minimal API
Cite
×