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 difference between singleton and single call?

650


Demonstrate Render and PreRender?

604


How do you implement sql caching in asp.net?

566


What is viewstategenerator?

701


Where sessions are stored?

657






What is difference between or and orelse?

551


What is latest version of asp.net mvc? : Asp.Net MVC

478


What is the use of execute non query in asp.net?

484


What are session state modes in asp.net?

554


Describe the .net base class library.

537


What is asp net application object?

542


If you are using components in your application, how can you handle exceptions raised in a component?

2082


Explain what are delegates?

582


Is oauth for authentication or authorization?

592


What is GAC in ASP.NET 2.0

591