What are Http handler ?



What are Http handler ?..

Answer / alb.shah

An ASP.NET HTTP handler is the process (frequently referred
to as the "endpoint") that runs in response to a request
made to an ASP.NET Web application. The most common handler
is an ASP.NET page handler that processes .aspx files. When
users request an .aspx file, the request is processed by
the page via the page handler.
To create a custom HTTP handler, you create a class that
implements the IHttpHandler interface to create a
synchronous handler or the IHttpAsyncHandler to create an
asynchronous handler. Both handler interfaces require you
to implement the IsReusable property and the ProcessRequest
method. The IsReusable property specifies whether the
IHttpHandlerFactory object (the object that actually calls
the appropriate handler) can place your handlers in a pool
and reuse them to increase performance, or whether it must
create new instances every time the handler is needed. The
ProcessRequest method is responsible for actually
processing the individual HTTP requests.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

How does a web application session work?

0 Answers  


What is repository pattern in mvc.net? : asp.net mvc

0 Answers  


To call a Web service SOAP which transport protocol you use?

3 Answers   Siebel,


how to get the vb6.0 COM Component in to the .Net application?

3 Answers   iSoft,


Describe session handling in a webfarm?

0 Answers  






Difference between asp and asp.net?

4 Answers   Accenture,


A Web Service Can Only Be Written In .net. Is it True??

0 Answers   Siebel Systems,


How to publish website

1 Answers   Syntel,


Explain the steps to be followed to use passport authentication.

0 Answers  


How to implement role based security in asp.net mvc? : Asp.Net MVC

0 Answers  


How would you turn off cookies on one page of your website?

0 Answers  


What are validator? Name the validation controls in asp.net?

0 Answers  


Categories