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

What is use of Master Page in ASP.NET web pages?

0 Answers   Sans Pareil IT Services,


Can we make activex dll also ti execute in some process as that of client ? How can we do?

0 Answers   DELL, Zerone,


What is difference between response.redirect and server.transfer ?

2 Answers   Kalinga Software, Satyam,


What is session start?

0 Answers  


Define a web service in .net?

0 Answers  






Why we use content place holder in asp.net?

0 Answers  


Define page fragment caching?

0 Answers  


Is asp.net 64-bit enabled? How?

0 Answers  


how can i call output parameters from ado.net

3 Answers   TCS,


How many rules are there regarding a well formed XML document? a) Nine b) Three c) Six d) Two

1 Answers   Syntax Softtech,


When does the application ONEND event handler fire?

1 Answers   C Squared Systems, Verinon Technology Solutions,


What is the difference between localization and globalization?

0 Answers  


Categories