开发者

Accessing HttpApplicationState

开发者 https://www.devze.com 2022-12-12 06:34 出处:网络
Can it be done outside开发者_运维百科 of Global.asax?I stored some app state info on app_start that I want to grab in a controller action.Sure:

Can it be done outside开发者_运维百科 of Global.asax? I stored some app state info on app_start that I want to grab in a controller action.


Sure:

HttpContext.Current.Application["key"]
0

精彩评论

暂无评论...
验证码 换一张
取 消