What is the most mature MongoDB driver for C#?

Markus Dulghier picture Markus Dulghier · Apr 29, 2010 · Viewed 8.4k times · Source

So, there are

  • mongodb-csharp
  • simple-mongodb
  • NoRM

as C# drivers for MongoDB available.

Which one of them is the most mature and stable one? Why would you choose one over the other two?

Are they production ready?

Answer

Martin Owen picture Martin Owen · Nov 30, 2010

Since this question was answered 10gen have released an official MongoDB C# driver, and although it isn't the most mature C# driver in terms of age, with 10gen behind it it may end up as the most up to date.

It is more low level than the mongodb-csharp driver (no Linq support at the moment) but we haven't found that to be a problem. We moved to the official driver from mongodb-csharp recently on a project (that isn't in production yet) for the following reasons:

  • Replica Set support in an official release
  • SafeMode allows you to specify how many servers a write must be replicated to
  • The driver handles connecting/disconnecting to the database
  • We're hoping that as an official driver, it will have more developer support