What is HTTP MODULE & HTTP HANDLERS in ASP.NET? How a
developer can utilize in the application? Please provide
example.
Answer / 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 |
What is cookies in asp net?
Which object encapsulates state or data of a user?
Define caching.
what is an Eventbubbling?
What is the difference between viewstate and hidden field in asp.net?
If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?
What is the use of global.asax file?
What is mta?
Differentiate between file-based dependency and key-based dependency.
What is the displayafter property in updateprogress control?
Explain the concept of View Model in MVC?
Any alternative to avoid name collisions other then Namespaces?