Docs Menu

MongoDB with C#

Leverage C# to develop applications based on the .NET framework. MongoDB provides both a .NET/C# driver and an Entity Framework integration for you to take advantage of using MongoDB in this general-purpose, multi-paradigm programming language.

Get started with the .NET/C# Driver
C# landing page hero image

Provides a high-level API for working with MongoDB databases consistent with other MongoDB language drivers and includes a LINQ provider for .NET-native query access and powerful aggregation and transformation queries.

C# Driver Documentation →

The Entity Framework Core Provider allows you to use MongoDB with Microsoft's Entity Framework Core as an object-relational mapper. You can manipulate data by using LINQ queries and Entity Framework's entity-based modeling and change tracking.

Get Started With the Entity Framework Core Provider →

Entity Framework and .NET icon

.NET Analyzer

OData icon

OData Support

DevHub icon

View C# developer resources

C# Resources →

Learn icon

Learn about C# and MongoDB

C# Developer Path →

Community icon

Join forums and discussions

MongoDB Community →