Hold values ​​in query scope in MVC 3 without IOC?

How can I store values ​​in the HTTP request area without using IOC?

Quick reply will be appreciated.

+4
source share
1 answer

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

Via MSDN :

Gets a collection of keys / values ​​that can be used to organize and exchange data between the IHttpModule interface and the IHttpHandler interface during an HTTP request.

+13
source

Source: https://habr.com/ru/post/1344389/


All Articles