MongoDB.Bson 3.2.0

MongoDB C# Driver

You can get the latest stable release from the official Nuget.org feed or from our github releases page.

Getting Started

Untyped Documents

using MongoDB.Bson;
using MongoDB.Driver;
var client = new MongoClient("mongodb://localhost:27017");
var database = client.GetDatabase("foo");
var collection = database.GetCollection<BsonDocument>("bar");

await collection.InsertOneAsync(new BsonDocument("Name", "Jack"));

var list = await collection.Find(new BsonDocument("Name", "Jack"))
    .ToListAsync();

foreach(var document in list)
{
    Console.WriteLine(document["Name"]);
}

Typed Documents

using MongoDB.Bson;
using MongoDB.Driver;
public class Person
{
    public ObjectId Id { get; set; }
    public string Name { get; set; }
}
var client = new MongoClient("mongodb://localhost:27017");
var database = client.GetDatabase("foo");
var collection = database.GetCollection<Person>("bar");

await collection.InsertOneAsync(new Person { Name = "Jack" });

var list = await collection.Find(x => x.Name == "Jack")
    .ToListAsync();

foreach(var person in list)
{
    Console.WriteLine(person.Name);
}

Documentation

Questions/Bug Reports

If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.

Contributing

Please see our guidelines for contributing to the driver.

Thank you to everyone who has contributed to this project.

Showing the top 20 packages that depend on MongoDB.Bson.

Packages Downloads
QC.Utils
Package Description
251
QC.Utils
Package Description
153
QC.Utils
Package Description
104
QC.Utils
Package Description
98
QC.Utils
Package Description
87
QC.Utils
Package Description
69
MongoDB.Driver
Official .NET driver for MongoDB.
51
QC.Utils
Package Description
45
MongoDB.Driver.Core
Core Component of the Official MongoDB .NET Driver.
40
QC.Utils
Package Description
39
QC.Utils
Package Description
24
QC.Utils
Package Description
15
QC.Utils
Package Description
12
QC.Utils
Package Description
11
MongoDB.Driver
Official .NET driver for MongoDB.
11
QC.Utils
Package Description
10
QC.Utils
Package Description
7
MongoDB.Driver
Official .NET driver for MongoDB.
7
QC.Utils
Package Description
6

https://github.com/mongodb/mongo-csharp-driver/releases/tag/v3.2.0

Version Downloads Last updated
3.6.0 0 01/15/2026
3.5.2 1 12/22/2025
3.5.1 1 11/24/2025
3.5.0 2 11/03/2025
3.4.3 2 11/03/2025
3.4.2 2 11/03/2025
3.4.1 2 11/03/2025
3.4.0 4 05/23/2025
3.3.0 4 04/11/2025
3.2.1 4 04/11/2025
3.2.0 4 04/11/2025
3.1.0 3 05/23/2025
3.0.0 4 05/23/2025
2.30.0 6 05/20/2025
2.29.0 3 08/29/2025
2.28.0 4 08/29/2025
2.27.0 3 08/29/2025
2.26.0 3 08/29/2025
2.25.0 3 08/29/2025
2.24.0 4 03/14/2024
2.23.2 6 06/25/2025
2.23.1 4 05/20/2025
2.23.0 4 05/20/2025
2.22.0 7 06/25/2025
2.21.0 4 08/29/2025
2.20.0 5 05/20/2025
2.19.2 3 08/29/2025
2.19.1 3 08/29/2025
2.19.0 1 12/25/2025
2.18.0 1 11/26/2025
2.17.1 3 08/29/2025
2.17.0 1 11/20/2025
2.16.1 4 08/29/2025
2.16.0 1 11/20/2025
2.15.1 3 08/29/2025
2.15.0 1 11/20/2025
2.14.1 39 12/10/2023
2.14.0 1 11/19/2025
2.14.0-beta1 5 08/29/2025
2.13.3 5 05/20/2025
2.13.2 5 01/07/2025
2.13.1 4 05/20/2025
2.13.0 1 12/25/2025
2.13.0-beta1 3 05/24/2025
2.12.5 3 08/29/2025
2.12.4 4 08/29/2025
2.12.3 6 05/20/2025
2.12.2 6 06/25/2025
2.12.1 4 05/20/2025
2.12.0 3 08/29/2025
2.12.0-beta1 3 05/24/2025
2.11.6 3 08/29/2025
2.11.5 3 08/29/2025
2.11.4 3 08/29/2025
2.11.3 4 05/20/2025
2.11.2 4 05/20/2025
2.11.1 6 06/25/2025
2.11.0 3 08/29/2025
2.11.0-beta2 3 05/24/2025
2.11.0-beta1 3 05/24/2025
2.10.4 1 11/20/2025
2.10.3 1 12/25/2025
2.10.2 3 08/29/2025
2.10.1 3 08/29/2025
2.10.0 4 08/29/2025
2.10.0-beta1 3 05/24/2025
2.9.3 4 05/23/2025
2.9.2 4 05/23/2025
2.9.1 3 05/20/2025
2.9.0 4 05/20/2025
2.9.0-beta2 3 06/25/2025
2.9.0-beta1 4 06/25/2025
2.8.1 3 05/20/2025
2.8.0 4 05/20/2025
2.7.3 4 05/23/2025
2.7.2 4 05/23/2025
2.7.1 3 05/20/2025
2.7.0 4 05/20/2025
2.7.0-beta0001 5 06/25/2025
2.6.1 3 05/20/2025
2.6.0 4 05/20/2025
2.5.1 3 05/20/2025
2.5.0 3 05/20/2025
2.4.4 3 05/23/2025
2.4.3 3 05/23/2025
2.4.2 3 05/23/2025
2.4.1 4 05/20/2025
2.4.0 3 05/20/2025
2.4.0-beta1 3 05/24/2025
2.3.0 2 05/23/2025
2.3.0-rc1 4 05/23/2025
2.3.0-beta1 2 06/25/2025
2.2.4 3 05/23/2025
2.2.3 3 05/23/2025
2.2.2 2 05/23/2025
2.2.1 3 05/23/2025
2.2.0 3 05/23/2025
2.2.0-rc0 5 05/23/2025
2.1.1 3 05/23/2025
2.1.0 4 05/20/2025
2.1.0-rc1 5 06/25/2025
2.1.0-rc0 5 05/23/2025
2.0.2 3 05/23/2025
2.0.1 4 05/20/2025
2.0.0 4 05/23/2025
2.0.0-rc0 5 05/23/2025
2.0.0-beta4 2 06/25/2025
2.0.0-beta3 2 06/25/2025
2.0.0-beta2 3 06/25/2025
2.0.0-beta1 3 06/25/2025