what are Httpmodule and HttpHandler?
Answer Posted / rituparno
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 through the page handler. You can create your own
HTTP handlers that render custom output to the browser.
An HTTP module is an assembly that is called on every
request that is made to your application. HTTP modules are
called as part of the ASP.NET request pipeline and have
access to life-cycle events throughout the request. HTTP
modules let you examine incoming and outgoing requests and
take action based on the request.
An HTTP handler can be either synchronous or asynchronous.
A synchronous handler does not return until it finishes
processing the HTTP request for which it is called. An
asynchronous handler runs a process independently of
sending a response to the user. Asynchronous handlers are
useful when you must start an application process that
might be lengthy and the user does not have to wait until
it finishes before receiving a response from the server.
| Is This Answer Correct ? | 33 Yes | 3 No |
Post New Answer View All Answers
What is is post back property in asp net?
How can we communicate with each server in N-tier Architecture? and what are the methods?
What is the use of autowireup in asp.net?
What are the advantages of the code-behind feature?
What is the difference between cache and cookies?
What is enableviewstate?
Explain the difference between debug.write and trace.write? When should each be used?
What is work flow gen? how can it will work with .Net?
Write a code snippet to implement the indentation in json in web api.
What does asp.net stand for?
To redirect the user to another page which method do we use without performing a round trip to the client?
In ViewState How much lifespan items stored?
What is the adavantage of using ASP.NET routing?
What is postback pixel?
How many web.config files can I have in an application?