Microsoft.Extensions.Caching.Distributed.IDistributedCache
Represents a distributed cache of serialized values.
Gets a value with the given key.
Gets a value with the given key.
Refreshes a value in the cache based on its key, resetting its sliding expiration timeout (if any).
Refreshes a value in the cache based on its key, resetting its sliding expiration timeout (if any).
Removes the value with the given key.
Removes the value with the given key.
Sets a value with the given key.
Task SetAsync(string key, byte[] value, DistributedCacheEntryOptions options, CancellationToken token = default)
Sets the value with the given key.