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
Write some code using interfaces, virtual methods, and an abstract class`
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
What is xaml? Are xaml file compiled or built on runtime?
How to Insert/Add in ASPXgridview
Are cookies client side or server side?
How you can manage the state of application at the server side in ASP.NET?
To load your generated dataset with data which method do you invoke?
How to create events for a control?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
Explain about consistent programming model in the .NET framework?
What is a url string?
Define view state.
Explain cashing in asp.net.
Explain Features in ASP.NET
What are cookies in asp.net?