What are Http handler ?



What are Http handler ?..

Answer / alb.shah

An ASP.NET HTTP handler is the process (frequently referred
to as the "endpoint") that runs in response to a request
made to an ASP.NET Web application. The most common handler
is an ASP.NET page handler that processes .aspx files. When
users request an .aspx file, the request is processed by
the page via the page handler.
To create a custom HTTP handler, you create a class that
implements the IHttpHandler interface to create a
synchronous handler or the IHttpAsyncHandler to create an
asynchronous handler. Both handler interfaces require you
to implement the IsReusable property and the ProcessRequest
method. The IsReusable property specifies whether the
IHttpHandlerFactory object (the object that actually calls
the appropriate handler) can place your handlers in a pool
and reuse them to increase performance, or whether it must
create new instances every time the handler is needed. The
ProcessRequest method is responsible for actually
processing the individual HTTP requests.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites

0 Answers   TCS,


Describe how ASP.NET maintains process isolation for each Web application?

0 Answers   B-Ways TecnoSoft,


Is viewstate secure?

0 Answers  


Is session stored in browser?

0 Answers  


How many types of web application ?

1 Answers  


What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.

8 Answers  


What is Assembly?

3 Answers   Inspira Technologies,


how many select state ments are used in stored procedure?

8 Answers   CSC,


Web API uses which library for JSON serialization?

0 Answers  


Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?

2 Answers   Siebel Systems,


If you are using two select queries and retrieving data. how do you access second query's result set using data reader?

1 Answers   Cap Gemini, Keane India Ltd, MindSquare,


How do you use css in asp.net?

8 Answers   iBridge,


Categories