What Is A Web Request?
What Is A Web Request?
NET
ASP.NET provides some Classes which make web development easier. Some of the
classes used specifically for ASP.NET development are:
1. System.Web.HttpRequest
2. System.Web.HttpResponse
3. System.Web.SessionState.HttpSessionState
4. System.Web.ApplicationState
In simple words, a web request a 'request sent from a client to the server, asking
for a specific web page'.
When you type a URL in a web browser or when you click on a hyper link in any
web page, your browser is actually making a 'Request' to the server for the
specific URL.
If you are using a browser to view a web page, then your browser is making the
actual request to the server. You simply typed a URL in the browser, but the
browser does lot of work in the background. It composes a Request in the proper
format that the server can understand and sends the request to the server using
the HTTP protocol.
Composing and sending the request involves lot of work, even though a user
need not worry about it. It is the responsibility of the browser to compose and
send the request in the proper format.
What is in a Request?
handling mechanism and web controls so that you can access user inputs in a
more easy way.
What is a Response?
The response includes several information about the page requested, including
the cookies to be saved on the client machine, the actual content to be
displayed to the user, etc.
The browser accepts the response and processes it. Browser does several things
including saving the cookies, checking the security etc and then displays the
page content to the user.
Questions
1. Explain features added in ASP.NET. How can you
justify that ASP.NET provides more developer
productivity?
2. ADO.NET Xerox