Click here to Skip to main content
15,885,546 members
Articles / Database Development / NoSQL

Beginners' guide to using MongoDB 4.0.2 and the official C# driver

Rate me:
Please Sign up or sign in to vote.
4.92/5 (43 votes)
16 Sep 2018CPOL13 min read 199.2K   3.4K   101  
Highlights the latest developments in both the Mongo open-source document database and the open-source official C# driver.
#Use this to direct output to a log file instead of the console
#*******************************
logpath=C:\mongodb\log\rsDb2.log 
#********************************
logappend = true
journal = true
quiet = true
#
#Enable this is you wish to use the user interface situated at 1000 ports above the server port
rest=true
#
# The port number the mongod server will listen on

# change port for each server instance
#**************************************
port=27019
#****************************************
# Listen on a specific ip address

# This is needed if running multiple servers.Comment out to access mongod remotely.

#
bind_ip=127.0.0.1

# This sets the database path  change the database path  for each server instance
#**********************************************
dbpath=C:/mongodb/rsDataDb2
#*****************************************
# Keep same replica set for all servers in the set
replSet=myReplSet

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
Wales Wales
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions