System.Web.HttpContext not recognized
The constructor is rarely used when you want to instantiate the HttpContext class. I always use the static property HttpContext.Current which is the current instance used by all the ASP.Net application. For using it make sure you already add reference to the System.Web.dll assembly and import the System.Web namespace