Learn MongoDB

Introduction

MongoDB is an open-source document database and the leading NoSQL database. MongoDB was developed by the company 10gen (now called MongoDB Inc) in October 2007. MongoDB has been used by many high-trafficked highly-scalable websites such as Craigslist, eBay, Foursquare and SourceForge.

MongoDB is written in C++. Here is a list of some of the MongoDB features: 

  • Document-Oriented Storage
  • Full Index Support
  • Replication and High Availability
  • Auto-Sharding (Scales horizontally without compromising functionality)
  • Rich, document-based queries
  • Fast In-Place Updates
  • Flexible aggregation and data processing
  • GridFS - Store files of any size without complicating your stack
  • MongoDB Management Service 

Getting Started

To get started, this is the one article you may want to start with.

Introduction to MongoDB

MongoDB is a high performance, scalable, open source, document-oriented database. It is in the NoSQL database category. Document oriented doesn't mean that it stores information in documents like PDF, Word documents and HTML. Instead MongoDB stores information in BSON documents. BSON is a binary-encoded serialization of JSON-like documents. BSON is designed to be lightweight, traversable and efficient.

Download and Install MongoDB

See the following to download and install MongoDB: 

Programming with MongoDB

You now understand the basics of MongoDB. Let's learn some programming. Here are some articles and tutorials you want to get started with.

MongoDB with C#

This article explains how to get started working with MongoDB using C#. This article will help you learn how to connect to a server, create a database, create a collection, insert a document into a collection, remove a document (data) from a collection, query from a collection and so on. To work with MongoDB you need to download the MongoDB C# driver that supports MongoDB.

Getting Started with MongoDB using C#

Here is another related article:

MongoDB with C#

MongoDB with ASP.NET

With this article I'm starting a step-by-step series on how to use MongoDB with ASP.NET MVC. In the course we will go from the basics to the advanced operations of MongoDB and gradually how to use it with ASP.NET MVC.

Getting Started with MongoDB using ASP.NET

MongoDB with MVC

With this article I'm starting a step-by-step series on how to use MongoDB with ASP.NET MVC. In the course we will go from the basics to the advanced operations of MongoDB and gradually how to use it with ASP.NET MVC.

  • You will learn the basics of MongoDB administration.
  • You'll learn how the .Net driver is organized and how to use it to connect to the Mongo Server.
  • You'll learn the fundamentals of how .Net types are serialized and stored in Mongo and how to customize the process to fit your specific needs.
  • You'll learn how to create an update and remove data from your MVC Applications.
  • How to build models with rich behavior without the overhead of mapping to our relational model.
  • You'll learn how to use both LINQ and Mongo's Query document style to query information from your application and how to combine them to build the most flexible of queries.
  • You'll learn how to use GridFS to store files and associate them with documents in your MVC applications.
  • You'll also learn how to avoid common pitfalls. 

Getting Started With MongoDB with ASP.NET MVC

Want more?

You can find more articles and tutorials on the MongoDB Page of C# Corner

Learn more and download MongoDB: http://www.mongodb.org/