KeyPrefix
Gets or sets the prefix for the keys of all Redis items created by the RedisCachingBackend. The default value is cache.
Declaration
public string KeyPrefix { get; set; }Property Value
| Type | Description |
|---|---|
| string |
Remarks
Set a value that identifies the application and the version of its data model, so that several applications or versions can share
the same Redis database. Change the value when the serialized form of the cached data changes incompatibly.
The value cannot contain the : character.