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 use of worker process in asp.net?

719


Difference between web user control and web custom control?

674


Can you explain one critical mapping? Performance issue which one is better?

663


Who creates jsessionid?

786


What is caching? Explain.

732


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

724


Why session is necessary in web application?

716


Where the cookie value is stored?

709


Is asp.net easy to learn?

724


Explain the components of web form in asp.net

751


What is the differences between a primary key and a unique key in sql server?

756


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

844


What is the Difference between MVC And MVP design pattrens

2419


How do I upload a file from my ASP.NET page?

771


Can you explain autopostback?

721