DistributedCache.AzureTableStorage:AzureTableStorage的IDistributedCache实现

时间:2021-05-23 19:38:00
【文件属性】:
文件名称:DistributedCache.AzureTableStorage:AzureTableStorage的IDistributedCache实现
文件大小:34KB
文件格式:ZIP
更新时间:2021-05-23 19:38:00
C# 分布式缓存.AzureTableStorage 基于但依赖性较低。 使用IDistributedCache而不是字节数组使用强类型对象的额外添加的逻辑。 有两个版本,有关详细信息,请参见下表。 信息 版本 依存关系 信息 Microsoft已声明不推荐使用此依赖项。 这仍然是预览版本。 代码示例 用代码配置(选项1) C#代码: // Configure in code services . Configure < AzureTableStorageCacheOptions>( options => { options . TableName = " CacheTest " ; options . PartitionKey = " ConsoleApp " ; options . ConnectionString = " UseDevelopment

网友评论