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

supported. compatible. anything incompatible will be fixed: Supported
unsupported. minor incompatibilities may exist: Minor incompatibility
unsupported. incompatible: Unsupported

MongoDB Compatibility

        MongoDB Version
    2.4 2.6 3.0
  < 1.6 Minor incompatibility Minor incompatibility Minor incompatibility
  1.7-1.7.1 Minor incompatibility Minor incompatibility Minor incompatibility
  1.8-1.8.3 Supported Minor incompatibility Minor incompatibility
  1.9-1.9.2 Supported Supported Minor incompatibility
  1.10 Supported Supported Supported
Driver Version 2.0 Supported Supported Supported

Older server versions are unsupported.

.NET Language Compatibility

                Language Version
    .NET 2.0 .NET 3.0 .NET 3.5 .NET 4.0 .NET 4.5 Mono 2.10 Mono 3.x
  <= 1.9.2 Unsupported Unsupported Supported Supported Supported Supported Minor incompatibility
  1.10 Unsupported Unsupported Supported Supported Supported Supported Supported
Driver Version 2.0 Unsupported Unsupported Unsupported Unsupported Supported Unsupported Supported

Visual Studio Support

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

  • Visual Studio 2010
  • Visual Studio 2012