Skip to main content

MongoDB .NET Client

MongoDB provides a driver, and an Entity Framework provider, to interact with a MongoDB database from an .NET application.

📌 Documentation

Drivers

The MongoDB .NET Driver is a NuGet package that can be used to connect to and communicate with a MongoDB cluster.

🌐 Documentation, Code

Release notes:

Entity Framework Core Provider

MongoDB Entity Framework (EF) Core Provider, in a .NET application, serves as an object-relational mapper (ORM) to work with data in a MongoDB cluster.

🌐 Documentation, Code

[!NOTE]
This provider, introduced in May 2024, is now generally available. See the announcement.

Analyzer

MongoDB provides a Roslyn Analyzer that checks C# code and helps understand how the code translate to MongoDB calls.

🌐 Documentation