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 a swagger in web api?
What are the Types of authentications in IIS
Describe session handling in a webfarm?
Where is session data stored in asp net?
Give me one example of Web API Routing?
Explain what are delegates?
What is asp.net? How is it different from asp?
What is advantage of asp.net?
How do you declare static variable?
What do you mean by serialize and marshalbyref?
Explain what the contents of cookie?
How would you create a permanent cookie?
How do u declare static variable and how it is declared and what is its lifetime?
What are strong names?
Write a code for sending an email from asp.net application.