What are Http handler ?

Answer Posted / sp

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 ?    34 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asp.net and its advantages?

619


What is strong-typing versus weak-typing?

665


What are the new login controls in asp.net 2.0?

609


How to disable disable browser's Back button in asp.net (JavaScript)?

676


What is asp net theme?

624






What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

1511


WSDL means?

765


What is the difference between session and application?

587


Explain the different parts that constitute ASP.NET application?

648


What is Pre-Render event in ASP.NET?

678


What is the exact purpose of http handlers?

651


What I need to create and run an asp.net application?

606


What is a 404 redirect?

692


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

2257


Can we have a web application running without web.config file?

624