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


Please Help Members By Posting Answers For Below Questions

Explain one critical mapping?

566


How many types of triggers are there in update panel?

577


Differentiate between file-based dependency and key-based dependency.

513


What is the difference between session and viewstate in asp.net?

610


Explain authorization levels in .net ?

612






What are the event handlers that we can have in global.asax file?

536


What is strong-typing versus weak-typing?

585


Explain how is a property designated as read-only?

553


To load your generated dataset with data which method do you invoke?

610


What is cookieless session id explain in brief?

532


What is web api and why to use it?

561


How many types of session state management options available in asp.net?

548


Explain about ASP.NET?

637


What are the events that happen when a client requests an asp.net page from iis server?

488


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

546