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 are the advantages of Web API?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
How to you can limit Access to Web API to Specific HTTP Verb?
For which does this Codebehind="MyCode.aspx.cs" is relevent to ?
Explain the use of errorprovider control in .net?
Explain an object, class and method.
What are the layouts of ASP.NET Pages?
What are Master Pages in ASP.NET? or What is a Master Page?
Define repository pattern in mvc.net? : asp.net mvc
What is the difference between application state and caching?
Is redux flux?
Which adapter should you use, if you want to get the data from an access database?
What’s difference between “optimistic” and “pessimistic” locking?
How can exception be handled with out the use of try catch?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?