Plugin Interfaces > Add Pages to FogBugz > IPluginBinaryPageDisplay
Introduction
This article will demonstrate a simple FogBugz plugin that implements the IPluginBinaryPageDisplay interface contained in the FogCreek.FogBugz.Plugins.Interfaces class.
Functionality
This plugin will add a page to FogBugz (linked to from the "Extras" menu) that allows users to download the plugin DLL binary in zipped-up format. This is done by implementing IPluginBinaryDisplayPage interface so that the BinaryPageDisplay() method returns the zipped image as an array of bytes and sets the proper response headers. The plugin adds a link to the Extras menu (via IPluginExtrasMenu) to the normal plugin page which contains a link to the binary page.
Compile and Install It On Your Own
Download the source file: IPluginBinaryPageDisplay_Example.cs
Then follow these instructions to create a functioning plugin assembly: Compiling and Installing a FogBugz Plugin