RedLock.net
RedLock.net copied to clipboard
How to use it with Distributed Memory Cache?
While it is possible to switch to use Distributed Memory Cache to satisfy IDistributedCache dependency, is there any in-memory replacement for RedLock dependency? Need it for integration tests. Thanks.
Tried to Moq CreateLockAsync but it is non-overridable and therefore cannot be mocked!
Have the same question, is there way to switch to Distributed Memory Cache in case when Redis isn't configured?