.NET Framework

NOSQL mongodb

Sunny's 2011. 5. 19. 18:31


C# Driver

The MongoDB C# Driver is the 10gen-supported C# driver for MongoDB.

There have been several other C# drivers developed by the community in the past. This is the official C# Driver supported by 10gen. It is similar in many ways to the various drivers that came before it, but it is not a direct replacement for any of them. Most people have found it easy to convert to using the official C# Driver, but you should expect to have to make some changes. Version 1.0 of the official C# driver does not yet support LINQ, so if LINQ is important to you then you might choose to wait a bit before switching to the official C# driver.

Download

The C# Driver is hosted at github.com. Instructions for downloading the source code are at: Download Instructions

You can also download binary builds in either .msi or .zip formats from:
http://github.com/mongodb/mongo-csharp-driver/downloads.

Build

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

  • Visual Studio 2010
  • Visual Studio 2008