DistributedCacheExtensions.GetAutoJson<TValue> method
namespace: Serenity assembly: Serenity.Net.Core
Sets a value from the cache as byte[], string, or using JSON deserialization depending on type
public static TValue GetAutoJson<TValue>(this IDistributedCache cache, string key)
where TValue : class
| parameter | description |
|---|---|
| cache | Cache |
| key | Key |
See Also
- class TValue
- class DistributedCacheExtensions