Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

C#

plus Follow
Sign in to follow topics
A general-purpose, multi-paradigm programming language. C# is a particularly useful language to learn for developing apps based on the .NET framework

Featured

Quickstart

Build Your First .NET Core Application with MongoDB Atlas

Learn how to quickly and easily start building .NET Core applications that interact with MongoDB Atlas for create, read, update, and delete (CRUD) operations....
MongoDB thumbnail image
.NETC#

Jun 04, 2024 | 6 min read
Nic Raboy
News & Announcements

Introducing the MongoDB Analyzer for .NET


Aug 05, 2024 | 6 min read
Tutorial

MongoDB Provider for EF Core Tutorial: Building an App with CRUD and Change Tracking

MongoDB thumbnail image

Jan 24, 2024 | 18 min read
C# Articles
All C# Articles
Article

The C# Driver Version 3.0 is Here! What Do You Need to Know?

MongoDB thumbnail image

Nov 04, 2024 | 5 min read
Article

MongoDB Provider for EF Core: The Latest Updates

MongoDB thumbnail image

Aug 29, 2024 | 6 min read
Article

How to Set Up MongoDB Class Maps for C# for Optimal Query Performance and Storage Size

MongoDB thumbnail image

Aug 05, 2024 | 8 min read
All C# Articles
C# Tutorials
All C# Tutorials
Tutorial

Building an AI Agent With Semantic Kernel, C#, OpenAI, and MongoDB Atlas

MongoDB thumbnail image

Dec 02, 2024 | 13 min read
Tutorial

Handling Complex Aggregation Pipelines With C#

MongoDB thumbnail image

Nov 15, 2024 | 5 min read
Tutorial

MongoDB C# Aggregation Pipeline Basics

MongoDB thumbnail image

Oct 11, 2024 | 5 min read
C# Videos
All C# Videos
Video

Exploring the MongoDB EF Core Provider for .NET with Kev Smith

MongoDB thumbnail image
Play Button

Nov 29, 2024 | 61 min
Video

Did you know that EF now has support for MongoDB?

MongoDB thumbnail image
Play Button

Sep 11, 2024 | 1 min
Video

What's New in the MongoDB Provider for EF Core?

MongoDB thumbnail image
Play Button

Jun 13, 2024 | 7 min
All C# Content
search
  • Latest
  • Highest Rated
Tutorial

Building an AI Agent With Semantic Kernel, C#, OpenAI, and MongoDB Atlas

Learn how to easily create an AI agent application using MongoDB Atlas, Microsoft’s Semantic Kernel, C#, and OpenAI with Developer Advocate Luce Carter.
MongoDB thumbnail image

Dec 02, 2024
Luce Carter
Video

Exploring the MongoDB EF Core Provider for .NET with Kev Smith

✅ Try MongoDB 8.0 → https://mdb.link/qplmvIaU3ec-8.0 ✅ Sign-up for a free cluster → https://mdb.link/qplmvIaU3ec-try ✅ Subscribe to MongoDB YouTube→ https://mdb.link/subscribe - With the new EF Core Provider going GA in May, join Kev Smith - MongoDB Champion as we look at using it within .NET and also go into some extra tips and tricks with the C# driver.
MongoDB thumbnail image
Play Button

Nov 29, 2024
Tutorial

Handling Complex Aggregation Pipelines With C#

Learn how to enable developers to use complex aggregation pipelines from C# in their MongoDB application with this article from guest author Markus.
MongoDB thumbnail image

Nov 15, 2024
Markus Wildgruber
Article

The C# Driver Version 3.0 is Here! What Do You Need to Know?

After 8 years, the MongoDB C# Driver has a new major version, 3.0. Let’s take a look at the main features and changes developers need to be aware of.
MongoDB thumbnail image

Nov 04, 2024
Luce Carter
Tutorial

MongoDB C# Aggregation Pipeline Basics

Join MongoDB Community Contributor Markus to learn all about the basics of Aggregation Pipelines in C# with MongoDB
MongoDB thumbnail image

Oct 11, 2024
Markus Wildgruber
Tutorial

Getting Started with Microsoft's Semantic Kernel in C# and MongoDB Atlas

Learn how to get started creating a simple bot in C# using Semantic Kernel with MongoDB Atlas.
MongoDB thumbnail image

Oct 10, 2024
Luce Carter
Tutorial

Working With MongoDB Transactions With C# and the .NET Framework

Learn how to use transactions in C#. We create a product object and perform a transaction to insert sample data into MongoDB and update all prices by 10%.
MongoDB thumbnail image

Sep 11, 2024
Robert Walters
Tutorial

Create a RESTful API With .NET Core and MongoDB

Click here to learn how to create a RESTful web API with .NET Core that interacts with MongoDB through each of its endpoints.
MongoDB thumbnail image

Sep 11, 2024
Nic Raboy
Video

Did you know that EF now has support for MongoDB?

MongoDB thumbnail image
Play Button

Sep 11, 2024
Article

How to Use Realm Effectively in a Xamarin.Forms App

This article shows how to effectively use Realm in a Xamarin.Forms app using recommended patterns.
MongoDB thumbnail image

Sep 09, 2024
Ferdinando Papale