I read about HTTPContext And ControllerContext in MVC (fundamentalbook), but i don’t know what is exactly HTTPContext And ControllerContext.
Could some one please explain these methods?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
HttpContextwill give information about an individual HTTP request.ControllerContextwill give information about an HTTP request for a specified controller.See links below for more info….
HttpContext:
http://msdn.microsoft.com/en-us/library/system.web.httpcontext.aspx
ControllerContext:
http://msdn.microsoft.com/en-us/library/system.web.mvc.controllercontext(v=vs.108).aspx