MongoDB implementation in .NET application.
- Install MongoDB on local drive, e.g. C:\MongoDB\
- Create folders data\db and data\log in the main directory.
- Create config file (e.g. mongod.cfg):
systemLog:
destination: file
path: c:\MongoDB\data\log\mongod.log
storage:
dbPath: c:\MongoDB\data\db
- Install service:
C:\MongoDB\bin\mongod --config C:\MongoDB\mongod.cfg --install