GeekInterview.com
Series: Subject: Topic:
Question: 348 of 348

what is the exact purpose of http handlers and interfaces?

Asked by: Interview Candidate | Asked on: Apr 29th, 2005
Showing Answers 1 - 5 of 5 Answers
Binda Joshi

Answered On : Apr 29th, 2005

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.

Yes  1 User has rated as useful.
  
Login to rate this answer.
Raja

Answered On : Dec 16th, 2005

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

Yes  1 User has rated as useful.
  
Login to rate this answer.
Rakesh

Answered On : May 5th, 2007

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...

Yes  1 User has rated as useful.
  
Login to rate this answer.
Bala

Answered On : Jul 3rd, 2007

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.

Yes  3 Users have rated as useful.
  
Login to rate this answer.
sairam sadanala

Answered On : Aug 8th, 2007

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.

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.