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

What is the purpose of using MVC programming pattern in ASP.NET?

541


How to display Alert in ASP.NET

631


Distinguish between Server-side and Client-side code?

544


Describe a bubbled event and how it is used ?

609


How do you handle server controls?

646






What is the difference between the get method () and post method ()?

507


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

537


What are the new web part controls in asp.net 2.0 ?

514


What is the procedure to create the environment for asp.net? : asp.net mvc

503


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

486


What are early binding and late binding.

558


How does asp.net page work?

516


What are the Types of state management techniques

552


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

3394


What is server infrastructure & server components?

769