• 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

what are the components available in global.asax ?

1 Answers  


Describe the application event handlers in ASP.NET?

0 Answers   HCL,


what is a .xap file? Explain with an example.

0 Answers  


Name the namespace which is used by ado.net?

0 Answers  


What are the validation controls ?

1 Answers  






Demonstrate Render and PreRender?

0 Answers   QuestPond,


What does asp stand for in asp.net?

0 Answers  


Is There any Third party tools are using in .Net Technologies? Can u Explain?

4 Answers   HCL,


How does the cookies work in asp.net?

0 Answers  


Explain the difference between debug.write and trace.write? When should each be used?

0 Answers  


What is session object? Describe in detail.

0 Answers  


What is application state?

0 Answers  


Categories