I am working with Mongodb as a database for my first asp.net mvc site. I have MongoDB running on 3 servers, in a replica set, primary, secondary and arbiter. Connecting to this is 3 web servers that perform CRUD operations on data stored in Mongo. I have a number of questions on my setup that I would like to clarify.
This is my connection string from C #
server=myprimary.com:27017,mysecondary.com:27017;replicaset=MySet;safe=true;database=MyDatabase
Is it correct not to include an arbiter in this connection string?
When I work with sql server, I configured all my connection strings with built-in security. What is the best practice for similar strings in a Mongo join?
source share