MongoC# Tutorial | What is MongoDB ?

in utopian-io •  7 years ago  (edited)

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


Click the "Next Button" to Start the installation

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

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

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

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.

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

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 Join us
Be a member on our Facebook page -- Click this Link


ulog.png

"You are the celebrity, We are your fans"

@surpassinggoogle

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

@surpassinggoogle

Please also support @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.


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for your contribution.

  • Submissions focused on the use of functions that are already well documented in the project documentation will be not be considered for potential reward.
  • Submissions presenting content creation and simple on-screen instruction will not be considered for potential reward.
  • Doesn't follow the template for tutorials. See the template here.
  • Put the first tag utopian-io and the second tag tutorials.

See in this link an example of a good tutorial.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey @portugalcoin
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.

Contributing on Utopian
Learn how to contribute on our website.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!