I can't access to HttpContext.Current on my project MVC4 with C#4.5
I've added my reference to System.Web in my project and added the using instruction on my controller page...
But I can access currentHandler only...
var context = HttpContext.CurrentHandler; //Current
Is HttpContext.Current
deprecated on C#4.5 ?
I've looked this help page : http://msdn.microsoft.com/en-us/library/system.web.httpcontext.aspx
using System.Web
on top of your file ? – BrunelleschiHttpContext.Current.Request
orRequest.ApplicationPath
, trySystem.Web.HttpContext.Current.Request.ApplicationPath;
– Dyslexia