Top "Mongodb-.net-driver" questions

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

How to create a new database in MongoDB using the c# driver

I have read through the mongodb documentation and cannot seem to find out how to create a new database. For …

c# mongodb mongodb-.net-driver
Getting a single object from mongodb in C#

I've picked up a piece of code that is using the MongoDB driver like this to get a single object …

c# .net mongodb mongodb-.net-driver mongodb-csharp-2.0
Insert JSON into an existing MongoDB collection

I understood my mistake :) Thanks guys. I have one more Question, suppose i have multiple documents with the below structure …

c# json mongodb mongodb-.net-driver bson
How does MongoDB deal with concurrent updates?

I started to use MongoDB at work so far so good. I was wondering though how does MongoDB deal with …

mongodb mongodb-.net-driver
How to save date properly?

I'm trying to save date (using C# official driver): val = DateTime.Parse(value).Date; //Here date is {11/11/2011 12:00:00 AM} var update = …

mongodb mongodb-.net-driver
How to check if collection exists in MongoDB using C# driver?

Is there any way in C# to check if a collection with a specific name already exists in my MongoDB …

c# mongodb mongodb-.net-driver
Collection ID length in MongoDB

i am new to mongodb and stack overflow. I want to know why on mongodb collection ID is of 24 hex …

mongodb mongoid mongodb-.net-driver mongodb-query
MongoDB C# Driver multiple field query

Using the MongoDB C# driver How can I include more than one field in the query (Im using vb.net) …

c# vb.net mongodb mongodb-.net-driver
Convert MongoDB BsonDocument into a string

How do a convert an entire MongoDB BsonDocument into a string? (I'm using the official C# driver)

serialization mongodb document mongodb-.net-driver
MongoDB .Net driver 2.0 Pull (remove element)

Can you help me to run correctly "Pull (remove)" with 2.0 driver. I have a collection like this and I want …

c# mongodb mongodb-.net-driver