System Administration
Plugins Overview
This section outlines the steps to create a plugin using C# and Visual Basic .Net. A basic level of development skills is assumed.
This section contains the following subtopics:
- Basic Plugin Example
- Advanced Plugin Example
- Plugin API Functionality
- Plugin Functionality
- Create a Plugin
- Register Plugin in Stewardship Tier
- Make Changes to a Plugin
- Create Custom Authentication Plugin
- View Where Plugin is Used
NOTE: Plugin development can be disruptive because it often requires restarting IIS. If the Stewardship Tier development instance is heavily used, it is recommended to create a new Stewardship Tier instance specifically for plugin development.
Terminology
One key aspect of working with the plugin application program interface (API) is the proper use and understanding of development terminology:
- Plugin – C# or Visual Basic .Net code that is executed via a Stewardship Tier event. Stewardship Tier plugins must be created using Microsoft’s .NET Framework.
- Plugin Assembly – The deployment container of one or many plugins. In the case of the Stewardship Tier plugins, a plugin assembly is a DLL created using a Microsoft .Net compiler (commonly Visual Studio). It is the plugin assembly that is registered in Stewardship Tier.
Getting Started
Every plugin requires the following prerequisites:
- A reference to the CranBerry.Framework DLL
- A public class that inherits the CranBerry.Framework.Plugins class
- A method called OnExecute that overrides the OnExecute method of the CranBerry.Framework.Plugin class
- PluginInstaller attributes