what is the exact purpose of http handlers and interfaces?
Answer Posted / ravikrishna
ASP.NET maps HTTP requests to HttpHandlers. Each HttpHandler enables processing of individual HTTP URLs or groups of URL extensions within an application. HttpHandlers have the same functionality as ISAPI extensions with a much simpler programming model
Ex
1.Default HttpHandler for all ASP.NET pages ->ASP.NET Page Handler (*.aspx)
2.Default HttpHandler for all ASP.NET service pages->ASP.NET Service Handler (*.asmx)
An HttpHandler can be either synchronous or asynchronous. A synchronous handler does not return until it finishes processing the HTTP request for which it is called. An asynchronous handler usually launches a process that can be lengthy, and returns before that process finishes
After writing and compiling the code to implement an HttpHandler, you must register the handler using your application's Web.config file.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What is application variable in asp.net?
Is there any limit for query string? Means what is the maximum size?
What is http post action?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What is the difference between Hash table and Array list?
How to display Alert in ASP.NET
Describe the master page.
Explain the overview of asp.net?
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.
Explain the asp.net mvc folder conventions? : asp.net mvc
Explain about the .NET framework?
Differentiate the session object and application object?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
What are the server control tags in asp.net.?