= How to Implement A New HeuristicLab WebApp Plugin = [[PageOutline]] In the following Guide we will create a simple HeuristicLab WebApp plugin. == A new project == We will now create a new Visual Studio project which will become the WebApp plugin. * In Visual Studio select "File > New > Project..." or press * Use the "Class Library" template * Use "HeuristicLab.Services.WebApp.Example" as name [[Image(/raw-attachment/wiki/Documentation/Howto/ImplementAHLWebAppPlugin/create_project_vs.PNG)]] == Configuring the project == === References === Every plugin has at least a reference to Microsoft ASP.NET Web API, which is needed to create a controller. * Open the NuGet Package Manager and add a reference to Microsoft ASP.NET Web API [[Image(/raw-attachment/wiki/Documentation/Howto/ImplementAHLWebAppPlugin/nuget_project_references.PNG)]] * If database access is required, add project references to HeuristicLab.Services.Hive and HeuristicLabServices.DataAccess * Set the "Copy Local" property on these references to false. This references are provided by the WebApp and thus don't have to be deployed with every plugin. [[Image(/raw-attachment/wiki/Documentation/Howto/ImplementAHLWebAppPlugin/references.PNG)]] === Folder structure === == Creating the Plugin definition file == TODO == Example Plugin == TODO === WebApi === TODO === WebApp === TODO ==== View ==== TODO ==== Controller ==== TODO ==== Service ==== TODO