Docs Menu

Docs HomeC#/.NET

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#. Download the driver using NuGet, or set up a runnable project by following our Quick Start guide.

Learn how to establish a connection to MongoDB Atlas and begin working with data in the Quick Start section.

See driver syntax examples for common MongoDB commands in the Quick Reference section.

For fully runnable code snippets and explanations for common methods, see Usage Examples.

For detailed information on key concepts of using the .NET/C# Driver, see Fundamentals.

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

Banner for the C# MongoDB University Course

Using MongoDB with C#

Learn the essentials of C# & ASP.NET application development with MongoDB.

For the compatibility charts that show the recommended .NET/C# Driver version for each MongoDB Server version, see Compatibility.

For a list of new features and changes in each version, see the What's New section.

Learn how to report bugs, contribute to the driver, and find additional resources for asking questions in the Issues & Help section.

For answers to commonly asked questions about the MongoDB .NET/C# Driver, see the FAQ section.

Quick Start →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.