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

Join us at AWS re:Invent 2024! Learn how to use MongoDB for AI use cases.
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

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
Tutorial

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

MongoDB thumbnail image

Oct 10, 2024 | 10 min read
C# Videos
All C# Videos
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
Video

Getting Started with Atlas Vector Search and .NET Blazor

MongoDB thumbnail image
Play Button

Apr 15, 2024 | 22 min
All C# Content
search
  • Latest
  • Highest Rated
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
Tutorial

Saving Data in Unity3D Using PlayerPrefs

Persisting data is an important part of most games. Unity offers only a limited set of solutions, which means we have to look around for other options as well. In this tutorial series, we will explore the options given to us by Unity and third-party libraries.
MongoDB thumbnail image

Sep 09, 2024
Dominic Frei
Tutorial

Sending and Requesting Data from MongoDB in a Unity Game

Learn how to interact with MongoDB from a Unity game with C# and the UnityWebRequest class.
MongoDB thumbnail image

Sep 09, 2024
Nic Raboy