MongoDB.Driver 3.13.0

MongoDB C# Driver

MongoDB.Driver Documentation Documentation License

The official MongoDB .NET/C# driver.

The MongoDB .NET/C# driver follows semantic versioning since v3.0.0 of its releases.

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.Driver.

Packages Downloads
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
52
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
59
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
64
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
69
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
70
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
74
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
76
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
80
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
82
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
86
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
87
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
97
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
113
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
121
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
145
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
148
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
165
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
173
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
290
Alpata.Helper
Option yönetimi için generik eklentiler sağlandı
500

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

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