What is Http handler?

Answers were Sorted based on User's Feedback



What is Http handler?..

Answer / sanjay patel

It as a program.(or handler, or module), it execute some
code when the user send some request. An .aspx page can be
thought as a HTTPHandler too, which implements more
functions.

Is This Answer Correct ?    24 Yes 6 No

What is Http handler?..

Answer / xander

when the incoming zHTTP request is processed by the This
PageHandler factory it creates a instance of HTTPHandler
class.HTTPHandler are >net components responsible for
serving HTTP requests.These comp inherit from IHTTPHandler
interfaces and have 2 methods
(Isreusable,ProcessRequest).The processrequest method id
the heart of the HTTPhandler class and repsonsible for
processing requests.The Isreusable method checks whether
ths instance created by the Pagehandlerfactory can be used
again to server these type f requests.

Once the processing is completed ,the HTTPHANdler compiles
the code and generates the corresponding output and returns
it to the browser

Is This Answer Correct ?    15 Yes 2 No

What is Http handler?..

Answer / nikhil

Http handler is a piece of code or aprogram for respond to
the incoming http requests from the server side.

Is This Answer Correct ?    6 Yes 2 No

What is Http handler?..

Answer / sanjay

The main purpose of HttpHandler is to serve all asp.net web request. For e.g. Creating web Page object -> creating server control object -> loading server control object -> rendering HTML content.

We can create our own custom HttpHandler by just inheriting IHttpHandler and using method ProcessRequest(){} and is Reusable.

we can define our own page extention e.g. simple.text
and using custom HttpHandler we can call this on url.

http://localhost/simple.text

but we have to register this custom HttpHandler in web.config

Is This Answer Correct ?    3 Yes 4 No

What is Http handler?..

Answer / r k raj

The HTTP handler is used in web services handle the
information between web browser and web server.

Is This Answer Correct ?    13 Yes 24 No

Post New Answer

More ASP.NET Interview Questions

How to kill session?

18 Answers   Protech,


What is rich control in asp.net?

0 Answers  


Why would a company use an application service provider?

0 Answers  


What type of code (server or client) is found in a Code- Behind class?

2 Answers  


What do you mean by marshalbyref?

0 Answers  






What is web.config file ?

1 Answers  


Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element.

5 Answers   ADITI, Syntax Softtech,


I need to download file from web server, without using save as dialogue box. Can anyone help, thanks In advance.

1 Answers  


what are the levels of securities need to be considered for the finincial web application?

1 Answers  


What are different templates available in Repeater,DataList and Datagrid ?

1 Answers  


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

0 Answers  


How can you enable impersonation in the web.config file?

0 Answers  


Categories