What are Http handler ?

Answers were Sorted based on User's Feedback



What are Http handler ?..

Answer / sp

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 ?    34 Yes 1 No

What are Http handler ?..

Answer / vikas kant

HTTP handlers are the .NET components that implement the
System.Web.IHttpHandler interface, they can act as a target
for the incoming HTTP requests and can be called directly
by using their file name in the URL.
HTTP handlers implement the following two methods:
1) ProcessRequest: called to process http requests and
2) IsReusable which indicates whether this instance of http
handler can be reused for fulfilling another requests of
the same type.

Is This Answer Correct ?    13 Yes 1 No

What are Http handler ?..

Answer / nitin

Actual flow is this Client made request -> Comes to IIS ->Forwarded to ASP.Net Engine (HTTP Mod and Hndlrs)-> Page made/processed at handler -> back to Modules ->back to IIS
-> request's response back to the client

These (Handlers) are the classes/Assemblies actually which comes in to picture after the client request has passed through the HTTP modules and now reached the Handlers.

What they does is this : to create the page in response to the client request and any custom operation that you wana perform on the request of the client before the page/request is dispatched off to the Modules Via IIS and then to the client as a response of the request. . . . .

Is This Answer Correct ?    4 Yes 0 No

What are Http handler ?..

Answer / a.mustaq ahmed

Whenever we to work with user defined File Extensions we go
for HTTP handlers.

Is This Answer Correct ?    9 Yes 6 No

What are Http handler ?..

Answer / rajeev kumar singh

Any Class that implements System.Web.IHttpHandler Interface becomes HttpHandler. And this class run as processes in response to a request made to the ASP.NET Site.

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 through the page handler(The Class that implements System.Web.IHttpHandler Interface).

You can create your own custom HTTP handlers that render custom output to the browser.

Some ASP.NET default handlers are:
1) Page Handler (.aspx) – Handles Web pages
2) User Control Handler (.ascx) – Handles Web user control pages
3) Web Service Handler (.asmx) – Handles Web service pages
4) Trace Handler (trace.axd) – Handles trace functionality

Is This Answer Correct ?    0 Yes 0 No

What are Http handler ?..

Answer / swamy

HTTP handelers are process the requests at the endpoint in asp.net engine and renders the request to the client.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More ASP.NET Interview Questions

List of words of preprocessor in .net?

0 Answers  


What are type/key pairs in client script registration?

0 Answers  


You are planning the deployment of an ASP.NET application. The application uses a Visual Studio .NET component named DataAccess that will be shared with other applications on your Web server. You are using Visual Studio .NET to create a Windows Installer package. You need to deploy DataAccess and the ASP.NET application so that they can be uninstalled later of necessary. What should you do? A . Create a setup project for DataAccess. Add the ASP.NET application in a custom action. B . Create a setup project for the ASP.NET application. Create another setup project for DataAccess. C . Create a Web setup project for the ASP.NET application. Add a project output for DataAccess. D . Create a Web setup project for the ASP.NET application. Add a merge module for DataAccess.

3 Answers   Syntax Softtech,


why should i use FormsAuthentication.RedirectFromLoginPage (); Method in Form Authentication?Without using this method also it's good??

2 Answers  


How To Authenticate Your Web service??

1 Answers  






What is session and application variable in asp net?

0 Answers  


Explain about Multi-Language integration?

0 Answers  


What is state management technique?

0 Answers  


What is the use of view state?

0 Answers  


What methods are fired during the page load?

2 Answers  


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

0 Answers  


Why do you use the app_code folder in asp.net?

0 Answers  


Categories