# MongoDB .NET/C# Driver

> The official .NET and C# driver for MongoDB

Source: https://talira.ai/catalog/mongodb-net-c-driver-gst140d8
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / drivers](https://talira.ai/categories/libraries/databases/drivers)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [MongoDB](https://talira.ai/orgs/mongodb.md)

The MongoDB .NET/C# Driver is MongoDB's official library for working with [MongoDB](https://talira.ai/catalog/mongodb-bnayk648.md) from C# and other .NET languages, published on NuGet as MongoDB.Driver with its BSON library, MongoDB.Bson. It connects to MongoDB deployments and Atlas, reads and writes untyped BsonDocuments or typed C# classes, runs CRUD and aggregation pipelines, manages indexes, runs database commands, works with time series collections, MongoDB Search and Vector Search, and handles serialization, authentication, encryption, logging and monitoring. MongoDB maintains it, under Apache-2.0.

## Links

- GitHub: https://github.com/mongodb/mongo-csharp-driver
- Docs: https://www.mongodb.com/docs/drivers/csharp/current/

## Problems it solves

- connect my ASP.NET Core app to MongoDB
- query MongoDB from C# with typed classes
- run a MongoDB aggregation pipeline from a .NET service
- use MongoDB Atlas vector search from C#
- serialize C# objects to BSON documents

## Features

- official MongoDB driver for C# and .NET, on NuGet as MongoDB.Driver
- works with untyped BsonDocument or typed C# classes
- CRUD, aggregation pipelines, indexes and database commands
- MongoDB Search and Vector Search queries on Atlas
- time series collections
- BSON serialization library (MongoDB.Bson)
- authentication, encryption, logging and monitoring

## Trust

Overall: 0.65 out of 1.
Signals: maintenance 0.98, adoption 0.70, momentum 0.37, community 0.88, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 57 commits in the last 90 days
- latest release v3.14.1 10 days ago
- 3.2k GitHub stars
- 155 contributors
- backed by MongoDB

## Related

- Works with [MongoDB](https://talira.ai/catalog/mongodb-bnayk648.md)

## Alternatives

- [CSRedis](https://talira.ai/catalog/csredis-bgw2ypdx.md): .NET client for Redis, Redis Sentinel and Redis Cluster

## Sources

[^1]: https://github.com/mongodb/mongo-csharp-driver/blob/main/LICENSE.md (checked 26 Nov 2026)
