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
How can you apply a theme to your asp.net application?
What is application and session in asp.net?
What are the namespaces used in asp.net mvc? : asp.net mvc
Do you know caching feature?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
Explain the Order of events in an asp.net page?
What is difference between URL and URI?
Which Is Faster MVC or ASP.net ?
What is a server farm in iis?
Is it right that ASP.NET Web API has replaced WCF?
Write a code for passing ArrayList in Web API?
What is difference between Lambda Expression and LINQ in ASP.NET?
What are the different types of cookies in asp.net?
What are the modes of updation in an updatepanel?
How we implement web farm and web garden concept in asp.net?