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 does postback mean?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What is the life cycle of an asp.net page?
What is mvc in asp.net interview question? : Asp.Net MVC
What is the size of Get method and how much data it can store?
What does asp.net stand for?
What is difference between session and viewstate?
What are the authentication types in asp.net?
What does uri mean?
What is clickid?
What is AutoEventWireup attribute for ?
What is the difference between custom controls and user controls?
Can the dictionary object be created in client?s scope ?
Explain the benefits of viewstate?
What is razor? : asp.net mvc