Class DaprCacheOption
- Namespace
- Arc4u.Configuration.Dapr
- Assembly
- Arc4u.Caching.dll
The options of a Dapr state store cache.
public class DaprCacheOption
- Inheritance
-
DaprCacheOption
- Inherited Members
Properties
JsonSerializerOptions
Gets or sets the Json options given to the Dapr client to serialize the values. When null, the defaults of the Dapr client are used, which
serialize with reflection. In a trimmed or native AOT application, set options whose TypeInfoResolver is a
JsonSerializerContext of the application that declares the types stored in the cache. It is not read from the configuration.
public JsonSerializerOptions? JsonSerializerOptions { get; set; }
Property Value
Name
Gets or sets the name of the Dapr state store.
public string Name { get; set; }