Creating a Plugin

This page provides a Visual Studio Template for a demo plugin and a Step by step guide on how to create a basic powerGateServer plugin from scratch

Step by step Guide

Visual Studio Template

The Visual Studio Template creates a basic Plugin by following the steps above.

Visual Studio Project Template
Download:
C# Template

The template is installed with the product but can also be installed manually by copying the zip file to the VisualStudio Templates directory %userprofile%\documents\Visual Studio <Version>\Templates\ProjectTemplates\coolOrange.

Start VisualStudio and create a new project by using the powerGateServer Plugin project template:

../../_images/template_create_new_project.png

Select project name and target framework version:

../../_images/template_configure_new_project.png

The project will build the plugin to the Plugins directory, with the same name as the project.
The project is configured to launch powerGateServer in a Console when clicking the Start button or pressing F5. (Requires Visual Studio to be started with elevated permissions)

Therefore your own WebService should be up and running on following Url now:
http://localhost:8080/PGS/coolOrange/Demo/$metadata