diff --git a/readme.md b/readme.md index 81b3e9652e682bae42b7c67e21808457a48d4536..cf3ea0d2546a890deeead923e292e46717b81c50 100644 --- a/readme.md +++ b/readme.md @@ -34,13 +34,13 @@ Open a command shell and execute: Open the solution `Org.OpenAPITools.sln` (folder `server`) in Visual Studio: -## In Visual Studio: +## In Visual Studio Open `NuGet Package Manager` and add `MongoDB.Driver`. -### File adaptations: +### File adaptations Change version number in all files if a new version is provided. -### In the folder `Controllers`: +### In the folder `Controllers` Change "`public class`" to "`public abstract class`". Compare files folder in "`ControllersImpl`" with the corresponding files in "`Controllers`" and adapt if necessary. @@ -49,7 +49,7 @@ Methods should be the same with "`override`" instead of "`virtual`". --- -#### If some files are missing (and only then!): +#### If some files are missing (and only then!) Copy them from folder `Controllers`, rename them (append `Impl`) and handle them like the already existing files, i.e.: Change classnames by appending `Impl` to the original classnames (and change filenames accordingly) and inherit from original class in `Controllers` (instead of `ControllerBase`) @@ -69,7 +69,7 @@ Remove sample code and replace it by using the appropriate methods of the corres --- -### In the folder `Models`: +### In the folder `Models` Add to the classes to be stored in the database (i.e. `Trackable.cs`, `WorldAnchor.cs`, `WorldLink.cs`) : ``` using MongoDB.Bson;