An exception of type "System.timeoutexception" occurs in MongoDB.Driver.Core.dll, but is not processed in user code
To manipulate the MongoDB class library version:
----------------------------------------------
MongoDB.Driver.Core 2.3
Mongodb.bson 2.3
MongoDB version 3.0
Related changes to the connection string:
-----------------------------------------------
URL:MONGODB://127.0.0.1:27017 with no security certification
Plus safety certified Url:mongodb://[username]:[userpwd]@127.0.0.1:27017/[databasename]
The key change is the last specified database, if not specified, will be the default database
So when it comes to testing, it's usually mongodb://[username]:[userpwd]@127.0.0.1:27017.
Does not add a custom database name, resulting in an initial error.
MongoDB 3.0 about security authentication after using C # call encountered "System.timeoutexception" type of exception in MongoDB.Driver.Core.dll related issues