Namespace TcOpen.Inxton.Data.MongoDb
Classes
FloatTruncationSerializer
Writes the float value to mongo as double as reads it back as float.
MongoDbCredentials
MongoDbRepository<T>
Provides access to basic operations for MongoDB. To use this code, mongo database must run somewhere. To start MongoDB locally you can use following code
Start MongoDB without authentication
"C:\Program Files\MongoDB\Server\4.4\bin\mongod.exe" --dbpath C:\DATA\DB446\
Start MongoDB with authentication. You don't have to use the "--port" attribute or use a different "--dbpath". The only reason why would you want to run authenticated database on a different dbpath and port simultaneously is if they're running on the same machine.
More info about the use credentials MongoDbCredentials
"C:\Program Files\MongoDB\Server\4.4\bin\mongod.exe" --dbpath C:\DATA\DB446_AUTH\ --auth --port 27018