| 6 | == A new project == |
| 7 | We will now create a new Visual Studio project which will become the WebApp plugin. |
| 8 | |
| 9 | * In Visual Studio select "File > New > Project..." or press <Ctrl+Shift+N> |
| 10 | * Use the "Class Library" template |
| 11 | * Use "HeuristicLab.Services.WebApp.Example" as name |
| 12 | |
| 13 | == Configuring the project == |
| 14 | === References === |
| 15 | Every plugin has at least a reference to Microsoft ASP.NET Web API, which is needed to create a controller. |
| 16 | * Open the NuGet Package Manager and add a reference to Microsoft ASP.NET Web API |
| 17 | * If database access is required, add project references to HeuristicLab.Services.Hive and HeuristicLabServices.DataAccess |
| 18 | * 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. |
| 19 | |
| 20 | === Folder structure === |
| 21 | |
| 22 | == Creating the Plugin definition file == |
| 23 | TODO |
| 24 | |
| 25 | == Example Plugin == |
| 26 | TODO |
| 27 | |
| 28 | === WebApi === |
| 29 | TODO |
| 30 | |
| 31 | === WebApp === |
| 32 | TODO |
| 33 | |
| 34 | ==== View ==== |
| 35 | TODO |
| 36 | |
| 37 | ==== Controller ==== |
| 38 | TODO |
| 39 | |
| 40 | ==== Service ==== |
| 41 | TODO |