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
What is the use of worker process in asp.net?
Difference between web user control and web custom control?
Can you explain one critical mapping? Performance issue which one is better?
Who creates jsessionid?
What is caching? Explain.
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
Why session is necessary in web application?
Where the cookie value is stored?
Is asp.net easy to learn?
Explain the components of web form in asp.net
What is the differences between a primary key and a unique key in sql server?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What is the Difference between MVC And MVP design pattrens
How do I upload a file from my ASP.NET page?
Can you explain autopostback?