Skip to content

Instantly share code, notes, and snippets.

@bluenex
Last active August 29, 2015 14:16
Show Gist options
  • Save bluenex/a6ca4de3e7a476058b9f to your computer and use it in GitHub Desktop.
Save bluenex/a6ca4de3e7a476058b9f to your computer and use it in GitHub Desktop.
Some installation for add-on, plugin or apps.

MongoDB C# Driver

To install Official .NET driver for MongoDB, run the following command in the Package Manager Console.

PM> Install-Package mongocsharpdriver -Version 1.10.0

check for the latest version here


Call using statements at minimum:

using MongoDB.Bson;
using MongoDB.Driver;

Sometimes there will also need additional:

using MongoDB.Driver.Builders;
using MongoDB.Driver.GridFS;
using MongoDB.Driver.Linq;

More about C# Driver tutorial on official MongoDB site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment