MongoC# Tutorial | What is MongoDB ?

Words
523
Reading
3 min
Listen
Play
8y

This tutorial was been made by your's truly. There was no intent to offend someone. All of the words were used depending on my understanding and was not saying that this all was correct. I was also accepting some comments that will correct my misunderstanding in the matter.


This tutorial will be going to deal with using MONGODB database platform in a C# programming language program. Hope you will follow my simple tutorial.


MongoDB

MongoDB is a free open-source cross-platform document-oriented database program. Using the MongoDB database saving large volumes of data will be at ease.This database platform makes developers more productive by accelerating the performance of the application and services to the market.
Mongodb is a king of NOSQL database which have unique data types

Data Types:

  1. Document Databases; and
  2. Key Value Stores.

Document Database

Document Database or document holds all the data and information in the database. This contains key value pairs or even nested document itself

Key Value Stores/Pair

Key Value Pair are the information that was saved to the database. Information that was saved into the database was stored in a key value pair having each of one an attribute of "key" which holds the data's identity.

Installing MongoDb in your Windows Machine

First you need to download the database platform here. The MongoDb version was Mongodb 3.6.2 and will be partnered to C# programming language as we go into our tutorial. Once the database platform was downloaded to your machine, Installing the application will be the next step. Follow the ScreenShot tutorial for installing the MongoDb 3.6.2


alt

Click the "Next Button" to Start the installation

alt

Check the checkbox to agree with the MongoDB's terms and condition

alt

Chose the "Complete Setup Type" to install the complete package of the platform

alt

Click the "Next Button" to install the MongoDB Compass on the machine

alt

Click the Finish button and the installation process was not complete


Getting Started with the MongoDB

The MongoDB platform was now installed in the machince, now we will now create the directory where we will insert all the data and information that we are going to save in our machine.
alt

Open a Command Prompt and Enter the following commands

This commands will now create a directory named db inside the directory data in our C drive.

After the directory was been made enter the next command in the command prompt

alt

Once you see the last line in the command prompt saying that the database was waiting for a connection the MongoDb was now set and ready to use.


1.gif



26906086_10208718864569314_1705464943_o (1).png

I am part of the steemitfamilyph@steemitfamilyph Join us
Be a member on our Facebook page -- Click this Link


ulog.png

"You are the celebrity, We are your fans"

surpassinggoogle@surpassinggoogle

alt

"Not everyone is a blogger but everyone has something to offer"

surpassinggoogle@surpassinggoogle

Please also support surpassinggoogle@surpassinggoogle as a witness by voting him at https://steemit.com/~witnesses and type in "steemgigs" at the first search box.
If you want to give him witness voting decisions on your behalf, visit https://steemit.com/~witnesses again and type in "surpassinggoogle" in the second box as a proxy.


MongoC# Tutorial | What is MongoDB ? | Ecency