开发者

Hold values in request scope in MVC 3 without IOC?

How can i hol开发者_如何学Cd values in http request scope without using IOC ?

Quick answer will be appreciated.


Put them into System.Web.HttpContext.Current.Items

Via MSDN:

Gets a key/value collection that can be used to organize and share data between an IHttpModule interface and an IHttpHandler interface during an HTTP request.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜