Top "Mongodb-.net-driver" questions

The official MongoDB .NET Driver provides asynchronous interaction with MongoDB.

BsonValue and custom classes in MongoDB C# Driver

I'm trying to use $push in an update query in mongodb, with the c# driver. The Update.Push(...) method requires …

c# mongodb mongodb-.net-driver
MongoDb c# official driver bulk update

How can i rewrite the following old code via the new C# MongoDb driver which using IMongoCollection interface : var bulk = …

c# mongodb mongodb-.net-driver mongodb-csharp-2.0
MongoDB C# Driver - how to store _id as ObjectId but map to string Id property?

I'm having trouble getting my model to represent an entity's Id property as a string but have it auto-generated and …

c# mongodb mongodb-.net-driver
Adding new property to each document in a large collection

Using the mongodb shell, I'm trying to add a new property to each document in a large collection. The collection (…

mongodb mongodb-.net-driver mongo-shell
mongodb c# select specific field

Need some help creating a generic method for selecting fields by their name. something like this: T GetDocField<T&…

c# mongodb mongodb-.net-driver mongodb-csharp-2.0
What is the most mature MongoDB driver for C#?

So, there are mongodb-csharp simple-mongodb NoRM as C# drivers for MongoDB available. Which one of them is the most mature …

c# mongodb norm mongodb-.net-driver
MongoWaitQueueFullException: The wait queue for acquiring a connection to server is full

Sometimes when inserting a small bunch of different document (synchronously), I get the following exception (see full stack trace further …

mongodb mongodb-query mongodb-.net-driver
C# MongoDB.Driver GetServer is Gone, What Now?

From the mongoDB.Driver docs (http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-csharp-driver/) Get a Reference to a Server Object To …

c# .net mongodb mongodb-.net-driver mongodb-csharp-2.0
MongoDB C# driver 2.0 InsertManyAsync vs BulkWriteAsync

I have to insert many documents in a MongoDB collection, using the new C# 2.0 driver. Is using either collection.InsertManyAsync(...) …

c# mongodb mongodb-.net-driver mongodb-csharp-2.0
Is there an "Explain Query" for MongoDB Linq?

Is there a way to run .explain() or equivalent on Linq queries? I would want to know The text of …

c# linq mongodb query-optimization mongodb-.net-driver