I’m trying to learn about HttpContext, Request and Response. What are some good resources? I’m especially interested in links to tutorials (basic things).
thanks
saj
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.
If you are referring to HttpContext in ASP.Net, it is a key object that exposes the underlying Request (incoming messages) and Response (outgoing message) streams. At a low level, this object is populated by IIS and the ASP.Net framework.
This means that HttpContext is available to any business object running inside of a .Net web application (not just an ASPX page, ASCX, etc).
HttpContext.Currentprovides access to Request, Response, Session, Cache, and more.http://msdn.microsoft.com/en-us/library/system.web.httpcontext.aspx
For HTTP basics such as Request and Response, see the links that Younes provided.