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 purpose of using MVC programming pattern in ASP.NET?
How to display Alert in ASP.NET
Distinguish between Server-side and Client-side code?
Describe a bubbled event and how it is used ?
How do you handle server controls?
What is the difference between the get method () and post method ()?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What are the new web part controls in asp.net 2.0 ?
What is the procedure to create the environment for asp.net? : asp.net mvc
What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC
What are early binding and late binding.
How does asp.net page work?
What are the Types of state management techniques
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
What is server infrastructure & server components?