My controller has statements declared this way (not sure if order makes sense)
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc;
I am trying to access an HTTPContext and noticed that I cannot even get an HTTPContext.Current
There seems to be two HTTPContext variables, and MVC is a use case. I had to fully qualify the object namespace in order to be able to compile the application.
System.Web.HttpContext - , Current, .
System.Web.HttpContext
Current
System.Web.Mvc.HttpContext. , HttpContext, Controller. , , "" . , , HttpContext.Current.
System.Web.Mvc.HttpContext
HttpContext
Controller
HttpContext.Current
, : , , - . , . "" , , , using . using , .