• What are HttpHandlers?
• What are HttpModules?

Answers were Sorted based on User's Feedback



• What are HttpHandlers? • What are HttpModules? ..

Answer / saroj

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 through the page handler. You can create your own HTTP handlers that render custom output to the browser.

An HTTP module is an assembly that is called on every request that is made to your application. HTTP modules are called as part of the ASP.NET request pipeline and have access to life-cycle events throughout the request. HTTP modules let you examine incoming and outgoing requests and take action based on the request.

Is This Answer Correct ?    8 Yes 2 No

• What are HttpHandlers? • What are HttpModules? ..

Answer / anil

Http handlers are special applications that typically
handle files with certain extension. For example when you
request a file with extension .asp IIS routes it to ASP
processor. But what if I want to handle files with my own
extensions say .bipin? Http handlers allow us to do just
that. Now, you might be thinking what is the use of a new
file extension? Consider a case where you want to generate
graphics on the fly. In such cases you will write an Http
handler that will do your task. Note that Http handlers are
typically called for the specific file extensions they are
designed for. If you have worked with ISAPI extensions in
past you will find this concept very familiar.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Any alternative to avoid name collisions other then Namespaces?

1 Answers  


how can i call output parameters from ado.net

3 Answers   TCS,


What are the different authentication modes in the .NET environment?

2 Answers   Veritas,


What is postback request?

0 Answers  


Hi, We have a user control that have button Now we use this user control on different aspx pages. We want when we click on the user control button then button behave differently on different page (Dynamacilly).

2 Answers   HCL,






How can u sort strings in array where strings are passed to method as arguments.

3 Answers   CTS, Syncfusion,


What is the difference between a cookie and a pixel?

0 Answers  


Describe paging in asp.net?

0 Answers  


How to authenticate users using web.config ?

1 Answers   Patni,


If there are two web.config files in a application which config files will get priority?

5 Answers  


What does clearing cache?

0 Answers  


What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?

26 Answers   Syntax Softtech,


Categories