Loupe - Log - Monitor - Resolve
Loupe / Developer's Guide / Extending Loupe Server / Loupe Extensions - Extension Controllers
In This Topic
    Loupe Extensions - Extension Controllers
    In This Topic

    Each Loupe extension can define one controller for each scope:

    1. Global Controller: Shared by all repositories in a given installation.  Since this is common to multiple repositories it doesn't have access to configuration data since that's repository specific.
    2. Repository Controller: Used by a single repository.  This is the most common controller used.
    3. Session Controller: Confined to a single session.  Exclusively used by Loupe Desktop.

    Creating an Extension Controller

    To be loaded as a controller, create a class that:

    In each controller, the Initialize method will be called after it is created.  This method is passed the relevant Context object which acts as a link back to the rest of Loupe.  Your controller will also be made available to other classes in your extension so you can use it to share state and perform common logic.

    See Also