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 you can stop the validation of ASP.NET controls from client side?

0 Answers   Sans Pareil IT Services,


What is ashx file in asp.net?

0 Answers  


How can you display all validation messages in one control?

0 Answers  


Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc

0 Answers  


Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

0 Answers  






If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users?

7 Answers   Syntax Softtech,


Explain MVC model binders?

0 Answers   B-Ways TecnoSoft,


9. Why should we hire you over the others waiting to be interviewed?

0 Answers   Business One, IBM, Swatz Oils,


How do you turn off cookies for one page in your site?

2 Answers   IBS,


What is the difference between web config and machine config files?

0 Answers  


What is the difference between login controls and forms authentication?

0 Answers  


What is page request in asp.net?

0 Answers  


Categories