alastairtree / LazyCache

An easy to use thread safe in-memory caching service with a simple developer friendly API for c#
https://nuget.org/packages/LazyCache
MIT License
1.72k stars 159 forks source link

how to adapter for RedisCache? #101

Closed neozhu closed 4 years ago

neozhu commented 4 years ago

have sample?

alastairtree commented 4 years ago

The current version of lazy cache does not support IDistributedCache at the moment. Consider using that instead, see https://docs.microsoft.com/en-us/aspnet/core/performance/caching/distributed?view=aspnetcore-3.1