BlogStart Building with the MongoDB Provider for Entity Framework Core - Now Generally Available! Learn More >

MongoDB Language Series

MongoDB: The developer data platform for C#

Get the versatility and flexibility of MongoDB Atlas with the familiarity of C#. Accelerate development with a first-class developer experience.

Try MongoDB
Learn more

MongoDB Atlas
and C# in action

Learn how you can deploy key MongoDB Atlas features — from aggregation pipelines to data encryption — using C# syntax. Helpful code snippets are included for easy copy and paste.
Try Free
Connect to MongoDB Atlas with the C# driver
Use the officially supported MongoDB C# driver to connect to your MongoDB Atlas cluster and start querying data instantly.
MongoDB C# Driver
Write aggregation pipelines in LINQ
Transform and process your data with MongoDB’s modular, multi-stage aggregation framework. Easily customize and configure your data analysis using familiar LINQ expressions and syntax.
Programmatically encrypt key data
Add an extra layer of security with client-side field level encryption (CSFLE). Enable CSFLE on the MongoClient and encrypt fields with a JSON schema so sensitive data is never transmitted unencrypted nor seen unencrypted by the MongoDB server.
Client-side field level encryption

Boost Developer Productivity with the MongoDB Analyzer for .NET

The MongoDB Analyzer for .NET improves productivity for C# developers by reducing the pain of debugging queries. It quickly identifies when unsupported Builders or LINQ expressions are being used in your applications, enabling you to identify and fix any errors prior to runtime.

Learn more
Pair of hands typing on a laptop

Resources for C# developers

Whether it’s enterprise applications or mobile games, the MongoDB C# driver and Atlas Device SDK are ideal for C# applications for all use cases.

Get started with MongoDB for C#

From Atlas to the Atlas Device SDK, the MongoDB developer data platform is ideal for busy C# developers — regardless of what framework or tool you use.
Try FreeQuestions? Talk to us
  • Serverless backend
  • Bidirectional sync
  • Intuitive SDK
  • Idiomatic builders
  • Capable extensions
  • Thoughtful tools