You can create custom user interface views that each get their own tab in the session viewer. With this extension you can create your own custom displays of the data within your sessions yet have them seamlessly integrate into the Session Viewer.
Once you've created your view, you can access it by clicking on the New View tab:
And then selecting your view from the list of additional views. Note that the caption and description you assigned with the SessionViewAddIn attribute is used to describe to the user
New Session View Dialog |
To create a Session View, you need to create a UserControl that:
For more information on how classes are evaluated and loaded see Loupe Extensions - Deploying Extensions.
A different copy of your session view is created whenever a user asks to create a new view. This means an indefinite number of your view may be created at the same time. If you need to coordinate data between multiple instances of your view use your Session Controller.
If it's useful to cache information to improve performance the best place to do this is in your Session Controller (for session-specific items) and Repository Controller (for repository items). This allows the cache to be shared between all of the classes that make up your extension.