DistributedCacheExtensions class
namespace: Serenity assembly: Serenity.Net.Core
Contains extensions methods to work with IDistributedCache provider.
public static class DistributedCacheExtensions
Public Members
| name | description |
|---|---|
| static GetAutoJson<TValue>(…) | Sets a value from the cache as byte[], string, or using JSON deserialization depending on type |
| static SetAutoJson<TValue>(…) | Sets a value in the cache as byte[], string, or using JSON serialization depending on type of TValue (2 methods) |
See Also
- Source: DistributedCacheExtensions.cs