GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Next Question 
 ASP.NET  |  Question 1 of 164    Print  
what is the exact purpose of http handlers and interfaces?

  
Total Answers and Comments: 5 Last Update: August 08, 2007   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Bala
 
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.


Above answer was rated as good by the following members:
sathin
April 29, 2005 10:19:10   #1  
Binda Joshi        

RE: what is the exact purpose of http handlers and interfaces?
httphandler: does the mapping of incoming URLs. This is the last part of the http request.

Ex: http://servername/project/trace.axd
( The trace.axd file is being requested by the user. The URL checks for httphandler section name in the web.config







Then returns the particular file(trace.axd)

Note: trace.axd of a particular file is stored in the root directory of that application.

 
Is this answer useful? Yes | No
December 16, 2005 13:26:04   #2  
Raja        

RE: what is the exact purpose of http handlers and int...

Hi Binda

I am sorry to say that you have provided us a wrong answer to the question :( .

Guys please refer to the following link to get a better insight of HTTP Handlers and HTTP Modules....

http://www.15seconds.com/issue/020417.htm

Hope this information is useful....Happy Programming !!!

Regards

Raja


 
Is this answer useful? Yes | No
May 05, 2007 01:58:31   #3  
Rakesh        

RE: what is the exact purpose of http handlers and int...
HTTP handlers is a process that runs in a response to request made to an asp.net web application

The most common handler is an ASP.NET page handler that processes .aspx files

other handlers are

Web service handler (*.asmx) ->HTTP handler for Web service pages created using ASP.NET.

like this...


 
Is this answer useful? Yes | No
July 03, 2007 17:10:21   #4  
Bala        

RE: what is the exact purpose of http handlers and int...
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 useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 08, 2007 01:22:52   #5  
sairam sadanala        

RE: what is the exact purpose of http handlers and int...
Handlers are used to process individual endpoint requests. Handlers enable the ASP.NET framework to process individual HTTP URLs or groups of URL extensions within an application. Unlike modules only one handler is used to process a request. All handlers implement the IHttpHandler interface which is located in the System.Web namespace. Handlers are somewhat analogous to Internet Server Application Programming Interface (ISAPI) extensions.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape