Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

which driver should I use to run mongoDB

I'm wondering about which driver is the best between the following :

mongodb-csharp driver
simple-mongodb driver
NoRM 

which one consider the best !>

like image 489
Rawhi Avatar asked Jan 19 '11 20:01

Rawhi


2 Answers

I think there are even more flavours: the one you call mongodb-csharp is actually two:

  • https://github.com/samus/mongodb-csharp
  • https://github.com/mongodb/mongo-csharp-driver

The first is a bit more mature and is used widely in the field. The second is a recent development, but is coming from 10gen, the creators of mongodb. Implementation is looking good and is rather like the samus driver. If you need in production something right now, I'm not sure what to advise, but in the long run, I'd go for the 10gen driver.

The one thing that it currently doesn't offer is Linq integration. This could be important to you.

I have no experience with the NORM and simple-mongdb drivers.

like image 62
Teun D Avatar answered Sep 22 '22 16:09

Teun D


I would use the official c# driver released by mongoDB.

http://www.mongodb.org/display/DOCS/CSharp+Language+Center

I've been using it and I like it so far.

like image 38
atbebtg Avatar answered Sep 25 '22 16:09

atbebtg