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

What are the different methods that are used during the page load?

1 Answers   Siebel,


Types of optimization and name a few ?

3 Answers   Accenture,


What is a postback ispostback and autopostback in asp net?

0 Answers  


What is a swagger in web api?

0 Answers  


What is viewstate in asp net with example?

0 Answers  


What are the options in ASP.NET to maintain state?

0 Answers   CDC,


i need code for insert,delete,update adn display records using stored procedure in C#

2 Answers  


What is difference between session and cookie?

0 Answers  


Describe session handling in a webfarm, how does it work and what are the limits?

0 Answers   Siebel Systems,


How can you apply a theme to your asp.net application?

0 Answers  


From the given paragraph of text, write a program to match the strings of format “Any number of numerals followed by an underscore followed by any number of alphabets" ex:123_abc (Note:using regular expressions)

4 Answers   Microsoft,


Which control has default post back is enabled(true)?

0 Answers   Sans Pareil IT Services,


Categories