小编Pra*_*asu的帖子

asp.net MVC OutputCache属性的默认持续时间是什么?

我们正在使用MVC的outputcache属性,如下所示

[OutputCache(Location = System.Web.UI.OutputCacheLocation.Server, Duration = 60 * 60 * 12, VaryByParam = "staticDataTypes;customerSubscriptionId")]
Run Code Online (Sandbox Code Playgroud)

这是Duration的默认值是 什么?

asp.net-mvc caching outputcache duration

5
推荐指数
1
解决办法
2238
查看次数

标签 统计

asp.net-mvc ×1

caching ×1

duration ×1

outputcache ×1