what is the exact purpose of http handlers and interfaces?



what is the exact purpose of http handlers and interfaces?..

Answer / 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

More ASP.NET Interview Questions

Where on the Internet would you look for Web services?

5 Answers   IBM, MNC, Siebel Systems,


What is the parent class of all web server control?

0 Answers  


Does google crawl redirects?

0 Answers  


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

0 Answers  


How we handle the runtime database schema change issue in asp.net application?

2 Answers   IBM, Tech Mahindra,






Differences between “dataset” and “datareader”.

0 Answers  


Why will you usually create an aspnet user account in the database for an asp.net web application?

0 Answers  


1. What is the difference between Cache and Session? 2. I cache limited to page like viewstate or it's accessible through out the application like session? 3. Which one is better when I've some data that is to be used across the application? Why is to better than the other?

2 Answers   247Customer,


To display data in a Repeater control which template you provide?

0 Answers   Siebel,


What is routing in MVC?

0 Answers   Infosys,


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,


What is Partial PostBack in ASP.NET?

0 Answers   Viscus Infotech,


Categories