The official MongoDB .NET Driver provides asynchronous interaction with MongoDB. Powering the drivers is a Core library and a BSON library.
- A completely async driver to talk with MongoDB.
- A distributed file system built on MongoDB.
- Core Driver
- The MongoDB Driver is built on top of a new Core library which anyone can use to build alternative or experimental high-level APIs.
- BSON Library
- A standalone BSON library, with a serialization infrastructure that you can use to build high-performance serializers.
The recommended way to get started using one of the drivers in your project is with a dependency management system. Select the driver, version and dependency management system below and the snippet can be copied and pasted into your build.
Alternatively, head over to our documentation to learn more about getting started with .NET and MongoDB.
<packages> <package id="MongoDB.Driver" version="2.4.3" /> <package id="MongoDB.Driver.Core" version="2.4.3" /> <package id="MongoDB.Bson" version="2.4.3" /> </packages>
|2.4.3||Reference | API|
|2.3.0||Reference | API|
|2.2.4||Reference | API|
|2.1.1||Reference | API|
|2.0.2||Reference | API|
|1.11||Reference | API|
M101N: MongoDB for .NET Developers
Learn everything you need to know to get started building a MongoDB-based app. From basic installation, JSON, schema design, querying, insertion of data, indexing and working with the .NET driver.