开发者

Accessing HttpApplicationState

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜