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"]
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"]
精彩评论