What is Http handler?

Answers were Sorted based on User's Feedback



What is Http handler?..

Answer / sanjay patel

It as a program.(or handler, or module), it execute some
code when the user send some request. An .aspx page can be
thought as a HTTPHandler too, which implements more
functions.

Is This Answer Correct ?    24 Yes 6 No

What is Http handler?..

Answer / xander

when the incoming zHTTP request is processed by the This
PageHandler factory it creates a instance of HTTPHandler
class.HTTPHandler are >net components responsible for
serving HTTP requests.These comp inherit from IHTTPHandler
interfaces and have 2 methods
(Isreusable,ProcessRequest).The processrequest method id
the heart of the HTTPhandler class and repsonsible for
processing requests.The Isreusable method checks whether
ths instance created by the Pagehandlerfactory can be used
again to server these type f requests.

Once the processing is completed ,the HTTPHANdler compiles
the code and generates the corresponding output and returns
it to the browser

Is This Answer Correct ?    15 Yes 2 No

What is Http handler?..

Answer / nikhil

Http handler is a piece of code or aprogram for respond to
the incoming http requests from the server side.

Is This Answer Correct ?    6 Yes 2 No

What is Http handler?..

Answer / sanjay

The main purpose of HttpHandler is to serve all asp.net web request. For e.g. Creating web Page object -> creating server control object -> loading server control object -> rendering HTML content.

We can create our own custom HttpHandler by just inheriting IHttpHandler and using method ProcessRequest(){} and is Reusable.

we can define our own page extention e.g. simple.text
and using custom HttpHandler we can call this on url.

http://localhost/simple.text

but we have to register this custom HttpHandler in web.config

Is This Answer Correct ?    3 Yes 4 No

What is Http handler?..

Answer / r k raj

The HTTP handler is used in web services handle the
information between web browser and web server.

Is This Answer Correct ?    13 Yes 24 No

Post New Answer

More ASP.NET Interview Questions

Hey I am using asp.net mvc architecture. I creating one dropdownlist using <select id="State" name="State"></select> this is dynamic list.Its displaying properly. But in time of Edit.If i load a page dropdownlist is not displaying the item which is stored in table.

1 Answers  


What is the Difference B/W Finalize() and Dispose() in .Net?

12 Answers   HCL, IBM,


Difference between web.config and app.config?

3 Answers   ITC Infotech, Jenesys Technologies,


What does uri mean?

1 Answers  


How to publish website

1 Answers   Syntel,


If we write return statement in finally block will it works fine or throws any error?

1 Answers   Patni,


What is a PostBack ?

1 Answers  


Difference between response.redirect and server.transfer?

1 Answers  


Are there resources online with tips on asp to asp.net conversions?

1 Answers  


How does asp page work?

1 Answers  


How does session id work?

1 Answers  


What is session handling in a webfarm, how it can work with its limits?

1 Answers   Siebel,


Categories