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

Why we use content place holder in asp.net?

502


What is mvc in asp.net tutorial? : Asp.Net MVC

543


What is the difference between a candidate key and primary key?

521


witch is the best insistute in sharpoint course.what abt future of share point course.

2547


Who creates jsessionid?

566






What is jade template engine?

576


What is custom events? How to create it?

625


Describe the differences between the lifecycles of Windows services and Standard EXE?

597


What is autopost?

526


What is the syntax for datagrid and specifying columns?

2091


What is session in http request?

556


How many types of file extensions for razor views in ASP.Net MVC?

577


How to use push notification?

604


Elaborate differentiation between Cache and Application?

538


What’s difference between “optimistic” and “pessimistic” locking?

577