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
How to reduce the width of textbox in editcommandcolumn of datagrid?
How do u declare static variable and how it is declared and what is its lifetime?
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
Is asp.net a language?
What is viewstate? What does the “enableviewstate” property do?
What is a session government?
How do sessions work?
How can we pass info between 2 asp.net pages?
Define a static class?
How may clustered index we can create in table?
What are the asp.net server side objects?
How to prevent client side validation from the ASP.NET validation controls?
What is the procedure to create the environment for asp.net? : asp.net mvc
Explain exception handling in .net.
What is asp.net master page?