OPTIONS

C# and .NET MongoDB Driver

MongoDB C#/.NET 2.0 Driver Released

For more information, see Introducing the 2.0 .NET Driver.

The official MongoDB C#/.NET Driver provides asynchronous interaction with MongoDB.

For the official MongoDB C#/.NET documentation, see the MongoDB C#/.NET Documentation. For the API documentation, see MongoDB C# API Documentation.

Driver Features

MongoDB Driver
An updated .NET driver offering a full asynchronous stack. For documentation on the update .NET driver, see MongoDB C#/.NET Driver documentation.
BSON Library
A standalone BSON library with a serialization infrastructure that you can use to build high-performance serializers. For documentation on the BSON library, see BSON Reference.
Core Library
A new core library upon which MongoDB .NET Driver is built. Users can use the new core library to build alternative or experimental high-level APIs. For documentation on the core library, see Driver Core

Download/Upgrade

The recommended way to download the driver is to use nuget. For more information, see Getting Started.

If upgrading from an earlier version of the C#/.NET driver, see also What’s New.

Compatibility

MongoDB Compatibility

The following compatibility table specifies the recommended version(s) of the MongoDB C#/.NET driver for use with a specific version of MongoDB.

The first column lists the driver version(s).

C#/.NET Driver Version MongoDB 2.4 MongoDB 2.6 MongoDB 3.0
Version 2.0
Version 1.10

For additional driver versions, see C#/.NET Driver MongoDB Compatibility Reference.

The driver does not support older versions of MongoDB.

.NET Language Compatibility

The following compatibility table specifies the recommended version(s) of the MongoDB C#/.NET driver for use with a specific version of .NET.

The first column lists the driver version(s).

Driver Version .NET 3.5 .NET 4.0 .NET 4.5 Mono 2.10 Mono 3.x
Version 2.0      
Version 1.10

For additional driver versions, see .NET Driver Language Compatibility Reference.

Visual Studio Support

The current version of the C# Driver has been built and tested using

  • Visual Studio 2010
  • Visual Studio 2012