C# MVCC# MVC: HttpContextBase from HttpContext.Current Enrico9 years ago01 mins It’s easy by using the HttpContextWrapper HttpContextBase basecontext = (new HttpContextWrapper(HttpContext.Current)); Happy coding! Related Post navigation Previous: How to check if IsNumeric?Next: Microsoft now plans March Windows 10 Mobile rollout Leave a ReplyCancel reply This site uses Akismet to reduce spam. Learn how your comment data is processed.