Can’t access to HttpContext.Current

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 Answers: Thank … Read more

SimpleMembershipProvider not working

I started a new internet project with VS2012 and am trying to just restructure my project a bit and I can’t seem to keep the SimpleMemberhsipProvider working. Basically, all I’ve done is move the models objects into a core project along with a couple other items. I’ve implemented Ninject and am trying to abstract Entity a bit by using a repository pattern to get my data. I really don’t feel as though I’ve changed much with the current project, but for some reason when I start the application now I get: