Class RedisCacheOption
- Namespace
- Arc4u.Configuration.Redis
- Assembly
- Arc4u.Caching.dll
The options of a Redis cache.
public class RedisCacheOption
- Inheritance
-
RedisCacheOption
- Inherited Members
Properties
ConnectionString
Gets or sets the StackExchange.Redis connection string.
public string? ConnectionString { get; set; }
Property Value
InstanceName
Gets or sets the prefix added to every key. Default is Default.
public string InstanceName { get; set; }
Property Value
SerializerName
Gets or sets the name of the IObjectSerialization registered with this key to use; when empty or not found, the default serializer is used.
public string? SerializerName { get; set; }