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

What is .NetFramework?

1 Answers   Syntel,


Types of objects in ASP ?

2 Answers   Microsoft,


What is variable and constant in .net programming language?

0 Answers  


Explain the difference between webfarm and webgardens in .net?

0 Answers  


How to authenticate users using Web.Config ?

1 Answers   Accenture,






What are the parts of an http response?

0 Answers  


What is asp net theme?

0 Answers  


How can we prevent browser from caching an aspx page?

0 Answers  


what is session . how it is use ?

3 Answers   TCS,


Which color scheme in a Repeater control can you provide alternatively?

1 Answers   Siebel,


What is global.asax file used for?

0 Answers  


How can you achieve nested Masterpages in 2.0?

1 Answers   Microsoft,


Categories