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 meant by ispostback in asp net?
What is autopostback true?
Contrast OOP and SOA. What are tenets of each ?
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
What are the asp.net security controls?
Is asp.net and .net are same or different?
What is a response cookie?
What is difference between ispostback and autopostback in asp net?
What are custom user controls in asp.net?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
how to write html code with ssl
Explain code snippet to register exception filters from controller?
Can we set which type of comparison we want to perform by the CompareValidator control?
Define msil.
Why asp.net mvc is better than asp.net? : Asp.Net MVC