Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nami Nasserazad 23 posts 43 karma points
    Feb 21, 2011 @ 12:07
    Nami Nasserazad
    0

    Umbraco Event Handlers

    Hi

    I have created a DocumentIndexer class which extends ApplicationBase and I provide a mechanism to index a doucment after its save.

    How can I tell umbraco to consider this class? Should I add something in config file?

    Regards

  • kows 81 posts 151 karma points c-trib
    Feb 21, 2011 @ 12:12
    kows
    0

    That isn't needed, by deploying the dll's it should work.

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Mar 01, 2011 @ 17:45
    Dan Diplo
    1

    Umbraco uses reflection to examine all assemblies in the /bin folder to see whether they have a class that inherits from ApplicationBase. So, so long as your class does this, and your events are marked public, they should just work automatically when deployed.

Please Sign in or register to post replies

Write your reply to:

Draft