Docs Menu
Docs Home
/ /

MongoDB C# Driver

Welcome to the documentation site for the official MongoDB .NET/C# Driver. You can add the driver to your application to work with MongoDB in C#.

Learn how to install the driver, establish a connection to MongoDB, and begin working with data in the Get Started with the .NET/C# Driver tutorial.

Learn how to create and configure a connection to a MongoDB deployment in the Connect to MongoDB section.

Learn how to use the .NET/C# Driver to work with MongoDB databases and collections in the Databases and Collections section.

Learn how to find, update, and delete data in the CRUD Operations section.

Learn how to use the .NET/C# Driver to perform aggregation operations in the Aggregation Operations section.

Learn how to work with common types of indexes in the Create and Manage Indexes section.

Learn how to run a database command in the Run a Database Command section.

Learn how to use Atlas Search to build full-text search capabilities in the Atlas Search section.

Learn how to use Atlas Vector Search to query your Atlas data based on semantic meaning rather than keyword matches in the Atlas Vector Search documentation.

Learn how to work with time series collections in the Time Series Collections section.

Learn how to monitor changes to your application and write them to logs in the Logging and Monitoring section.

Learn about ways you can authenticate your application and encrypt your data in the Security section.

Learn how to serialize and deserialize data in the Serialization section.

Learn about different notations you can use to read and write data in the Document Formats section.

Find more information about .NET/C# Driver versions, compatibility, and upgrading driver versions in the Reference section.

For detailed information about types and methods in the .NET/C# Driver, see the MongoDB .NET/C# Driver API documentation.

Learn how to report bugs, contribute to the driver, and find help in the Issues & Help section.

Next

Get Started