存储ASP.NET会话状态时AppFabric缓存的新缓存参数
在缓存中存储会话状态时,创建AppFabric缓存的“最佳”参数是什么 Powershell命令行:存储ASP.NET会话状态时AppFabric缓存的新缓存参数,asp.net,caching,appfabric,Asp.net,Caching,Appfabric,在缓存中存储会话状态时,创建AppFabric缓存的“最佳”参数是什么 Powershell命令行: New-Cache [-CacheName] <String> [-Eviction <String>] [-Expirable <String>] [-Force [<SwitchParameter>]] [-NotificationsEnabled <String>] [-Secondaries <Int32>] [-T
New-Cache [-CacheName] <String> [-Eviction <String>] [-Expirable <String>] [-Force [<SwitchParameter>]] [-NotificationsEnabled <String>] [-Secondaries <Int32>] [-TimeToLive <Int64>]
New Cache[-CacheName][-execution][-expireable][-Force[][-NotificationsEnabled][-Secondaries][-TimeToLive]
- CacheName:
-会话状态 - 辅助设备:1(在服务器故障时打开高可用性)
- 驱逐:
- 到期:
- 时间生活:
- 部队:
- 通知已启用:
New-Cache projectname-session-state -Secondaries 1
尽管如此,AppFabric被弃用也就不足为奇了。