This is a migrated thread and some comments may be shown as answers.
Handler Class
1 Answer 22 Views
This is a migrated thread and some comments may be shown as answers.
Amarjyoti
Top achievements
Rank 1
Amarjyoti asked on 18 Aug 2010, 02:58 AM
Dear Support,

I am trying to implement FIleExplorer in my application using the DBContentProvider sample.
I was finding it difficult to get around the Handler.ashx class.

This class is suppose to receive HTTP request from the client and process it in our custom logic. But as per Microsoft's Documentation on Handler class, they are supposed to be Marked in the Web.Config within the httphandlers tag, to make it work. I do not see any such implementation in our web.config. So how does it work then, and also as per them, it can be debugged. But in your demo, i have put breakpoints in all the methods. But none of them get hit while running your sample.

Can you please suggest me with a sample if possible as how does it work and if it can be debugged.

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 20 Aug 2010, 03:25 PM
Hi Amarjyoti,

In your case I recommend you check these help articles that explain in details how to use Generic Handlers (.ashx files)

This example works out of the box and you can debug the code inside the handler as well. You do not need to perform any extra steps in order to make the example to work. A simplified version of the same example is attached to this code library.


Greetings,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Amarjyoti
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or