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

What is a web api?

644


What is the main difference between Asp.net and Vb.net?

655


What is Bundling and Minification in MVC?

665


if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

1928


Is there any alternative to avoid name collisions other then Namespaces?

673






What is http session state?

598


How to do state management in ASP.NET?

682


What is viewstate parameter?

622


Differentiate the session object and application object?

623


Explain how does asp page work?

660


What is autopost?

624


What is mvc in asp.net interview question? : Asp.Net MVC

585


Why does my asp.net file have multiple tag with runat=server?

655


What is the significance of ASP.NET routing?

720


How does session id work?

589