This is a fork of https://github.com/mongodb-developer/mongodb-dotnet-example, reduced to reproduce a (already fixed) problem with FerretDB.
How to run:
- Install
dotnet
tool.
- Run
dotnet run mongodb://localhost:27017/
. - To run with the strict Stable API use the
--strict
flag. - To run with PLAIN authentication pass PLAIN to the
authMechanism
URI optiondotnet run "mongodb://username:password@localhost:27017/?authMechanism=PLAIN"
.