Answer Posted / 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 View All Answers
What are the difference between function and stored procedure in .net programming language?
Do you know using sql cache invalidation?
Is it possible to apply themes to an asp.net application? If yes, then how?
How to Separate background image and front image from original picture....
Is data edited in the Repeater control?
What are the 3 levels at which content pages can be attached to Master Page?
How many types of validation are there?
What is work flow gen? how can it will work with .Net?
How will you maintain versioning in asp.net 2.0?
What I need to create and run an asp.net application?
What is a ashx file?
Where are session variables stored?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?
Explain the difference between inline and code behind - which is best in?