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