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
what is command line compiler.what are the steps and how it is related to debugging.
How to use a Master Database in Asp.net?
What are the different kinds of assemblies?
Define managed code and managed data in .net?
How you will improve web application performance?
What is the difference between visual basic and asp.net?
Can we handle the error and redirect to some pages using web.config?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
How do you do Client-side validation in .Net?
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What are the different web pages?
Explain the advantages of asp.net.
How many types of session in ASP.NET
What is session authentication?
What are the different types of validation controls in asp.net?