Working with MongoDB in .NET (Part 3): Skip, Sort, Limit, & Projections

So far we've looked at creating documents , retrieving document, and now let's look into sorting documents, specifying the number of documents to skip or limit, and how to do projections. Limit When we query for a document, we sometimes don't want to return all of the documents that matches our filter criteria, just some … Continue reading Working with MongoDB in .NET (Part 3): Skip, Sort, Limit, & Projections

Working With MongoDB in .NET Part 2: Retrieving Documents with Filter Clause

In the previous part we went through some of the driver basics and how to insert documents to a collection. In this part of the series, we'll learn how to retrieve documents from the database. Any document belongs to a collection, therefore all CRUD operations have the scope of a single collection. To retrieve documents … Continue reading Working With MongoDB in .NET Part 2: Retrieving Documents with Filter Clause

Working With MongoDB in .NET Part 1: Driver Basics & Inserting Documents

MongoDB, classified as a NoSQL database, is a document-oriented database system which stores data in JSON-like format. MongoDB represents JSON documents in a binary-encoded format called BSON behind the scenes, and the MongoDB BSON implementation is lightweight, fast, and highly traversable. This means that MongoDB gives users the ease of use and flexibility of JSON … Continue reading Working With MongoDB in .NET Part 1: Driver Basics & Inserting Documents