The official MongoDB .NET Driver provides asynchronous interaction with MongoDB.
Consider the following object structure stored as documents: public class Foo { public string Id { get; set; } public ICollection<FooBar&…
c# mongodb mongodb-query mongodb-.net-driver mongodb-csharp-2.0I have a problem while upserting to mongo db using the official C# driver. public abstract class AggregateRoot { /// <summary&…
c# mongodb mongodb-.net-driverI couldn't figure out insert to a sub array... _id MyArray --Item ----ArrayItemId ----Name I want to insert items to …
c# mongodb mongodb-.net-driverI am trying to write a general purpose Web Api controller that will allow me to save a JSON document …
mongodb-.net-driverI have many complex queries that I sometimes wish to check directly against Mongo for debugging \ explaining() purposes. With the …
c# .net mongodb mongodb-.net-driver mongodb-csharp-2.0We've recently upgraded our web application to MongoDB C# Driver 2.0 and deployed to production. Below a certain load, the application …
mongodb-.net-driver timeoutexception mongodb-csharp-2.0I'm using the MongoDB .Net driver in my project. I want to update all of the properties of my object …
c# .net mongodb mongodb-.net-driver mongodb-csharp-2.0How do I list all databases for a connection using Mongo C# Driver?
mongodb mongodb-.net-driverIn the older .Net API version : MongoClient client = new MongoClient(); var server = client.GetServer(); var db = server.GetDatabase("foo"); var …
c# asp.net mongodb mongodb-.net-driver mongodb-csharp-2.0I'm trying to get a list of all the databases in my server and ultimately print them out (i.e. …
c# .net mongodb async-await mongodb-.net-driver