What is HTTP MODULE & HTTP HANDLERS in ASP.NET? How a
developer can utilize in the application? Please provide
example.

Answer Posted / answerme

An ASP.NET HTTP handler is the process that runs when any
request is 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.

For HTTP Handler implementation (Synchronous):
http://msdn.microsoft.com/en-us/library/ms228090.aspx

For Registering HTTP Handler:
http://msdn.microsoft.com/en-us/library/46c5ddfy.aspx

For Configuring HTT handler:
http://msdn.microsoft.com/en-us/library/bb515343.aspx

For HTTP module implementation :
http://msdn.microsoft.com/en-us/library/ms227673.aspx

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create discussion forum in asp.net mvc? : Asp.Net MVC

625


What does clearing cache?

615


Which dll handles the request of .aspx page?

660


What websites use asp.net?

625


what is publisher?

1737






Where sessions are stored in asp.net?

616


What is postback in asp net?

642


Explain the use of fragment caching.

752


How to rename a table using sql queries?

647


Explain repository pattern in asp.net mvc? : asp.net mvc

607


What is the advantage of using Windows authentication in a Web application?

668


Is viewstate enabled by default?

621


Does web services support data reader like pom project?

609


What are the HTML server controls in ASP.NET?

683


What is asp.net caching?

676