Handler Class

2 posts, 0 answers
  1. Amarjyoti
    Amarjyoti avatar
    5 posts
    Member since:
    Aug 2010

    Posted 17 Aug 2010 Link to this post

    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.
  2. Fiko
    Fiko avatar
    1406 posts

    Posted 20 Aug 2010 Link to this post

    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.

    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
Back to Top