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 we can kill our Session in web farm where there is no any sticky server .And user can not Logout bcoz of that.

3 Answers  


code for inserting images into gridview colomns from database

3 Answers   HP,


How do you declare static variable? What is its lifetime?

0 Answers  


How do I upload a file from my ASP.NET page?

0 Answers  


Can the validation be done in the server side? Or this can be done only in the Client side?

2 Answers  






Can we set which type of comparison we want to perform by the CompareValidator control?

0 Answers   MindCracker,


What is difference b/w Data Grid in ASP.Net 1.1 and Gridview in 2.0

11 Answers   Bosch, IntraLogic,


How do I publish my asp.net application to my isp's web server?

0 Answers  


What is a postback url?

0 Answers  


What is the typical session identifier?

0 Answers  


i wand basic interview based questions in asp.net and vb.net

0 Answers   Legio Infotech,


What is the difference between rest and restful?

0 Answers  


Categories