i

ASP.Net A Complete Guide

Request/Response Programming

Request and Response are the Page class properties.

Request Programming: In general, language when someone is asking something to someone, then it called requests for information. Here in request programming browser, ask some information to the server, then it called a request. The Request properties are mapped to the HttpRequest. The Request property allows accessing the HttpRequest object. HttpRequest Object contains information, such as path and the HTTP request for the page. HttpRequest has the QueryString method, and it returns the parameter that requested with the page URL.

Response Programming: Sending some output from the server to the browser called the Response. The Response property allows accessing the HttpResponse object. Response properties map to the HttpResponse. HttpResponse object allows you to send data to the browser as the result of the request. HttpResponse object uses the write method to send text/output on the browser.