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

Types of configuration files and their differences ?

2 Answers   Accenture,


What are the main components of the ADO object model? How are they used?

2 Answers   HCL, Syntax Softtech,


What are the various ways to send content from one page to another?

0 Answers  


calling result set one procedure to anothar procedure in sql2000

0 Answers  


how to edit gridview control in asp.net2.0

1 Answers   3i Infotech,






Can a .net web application consume java web service?

0 Answers  


IN an ASP.NET Web application if there is any error, how can you debug?

0 Answers   Siebel,


What are uri parameters?

0 Answers  


What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?

0 Answers  


What is indexing on asp.net?

0 Answers  


How to disable validator control by client side JavaScript?

0 Answers  


What r Callbacks in ASP.NET?

1 Answers  


Categories