Loading .gitignore 0 → 100644 +40 −0 Original line number Original line Diff line number Diff line ## Ignore .openapi-generator Folder ## .openapi-generator/ server/src/Org.OpenAPITools/.gitignore # Visual Studio cache/options directory .vs/ # Visual Studio solution *.sln # build-jobs build.* # database data directory data/ #generated readme server/README.md # all generated directories Attributes/ Authentication/ Controllers/ Converters/ Filters/ Formatters/ Models/ OpenAPI/ Properties/ wwwroot/ # generated project-files *.csproj # generated Program.cs Program.cs # backup-files *.bak readme.md +2 −2 Original line number Original line Diff line number Diff line Loading @@ -60,13 +60,13 @@ remove sample code and replace it by using the appropriate methods of the corres --- --- ### folder `Models`: ### folder `Models`: add: add to the classes to be stored in the database (i.e. `Trackable.cs`, `WorldAnchor.cs`, `WorldLink.cs`) : ``` ``` using MongoDB.Bson; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Attributes; ``` ``` at the value that is to become the MongoDB ID, add: and at the value that is to become the MongoDB ID, add: ``` ``` [BsonId] [BsonId] [BsonRepresentation(BsonType.String)] [BsonRepresentation(BsonType.String)] Loading Loading
.gitignore 0 → 100644 +40 −0 Original line number Original line Diff line number Diff line ## Ignore .openapi-generator Folder ## .openapi-generator/ server/src/Org.OpenAPITools/.gitignore # Visual Studio cache/options directory .vs/ # Visual Studio solution *.sln # build-jobs build.* # database data directory data/ #generated readme server/README.md # all generated directories Attributes/ Authentication/ Controllers/ Converters/ Filters/ Formatters/ Models/ OpenAPI/ Properties/ wwwroot/ # generated project-files *.csproj # generated Program.cs Program.cs # backup-files *.bak
readme.md +2 −2 Original line number Original line Diff line number Diff line Loading @@ -60,13 +60,13 @@ remove sample code and replace it by using the appropriate methods of the corres --- --- ### folder `Models`: ### folder `Models`: add: add to the classes to be stored in the database (i.e. `Trackable.cs`, `WorldAnchor.cs`, `WorldLink.cs`) : ``` ``` using MongoDB.Bson; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.Attributes; ``` ``` at the value that is to become the MongoDB ID, add: and at the value that is to become the MongoDB ID, add: ``` ``` [BsonId] [BsonId] [BsonRepresentation(BsonType.String)] [BsonRepresentation(BsonType.String)] Loading