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

Introducing MongoDB 8.0, the fastest MongoDB ever!
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

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
Article

How to Use Realm Effectively in a Xamarin.Forms App

MongoDB thumbnail image

Sep 09, 2024 | 18 min read
All C# Articles
C# Tutorials
All C# Tutorials
Tutorial

Integrating MongoDB with TensorFlow and C#

MongoDB thumbnail image

Sep 05, 2024 | 8 min read
Tutorial

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

MongoDB thumbnail image

Aug 05, 2024 | 10 min read
Tutorial

Query Your Data With ASP.NET Core, OData, and the MongoDB Entity Framework Core Provider

MongoDB thumbnail image

Jul 08, 2024 | 7 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

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
Tutorial

Integrating MongoDB with TensorFlow and C#

Are you a C# newbie or guru and curious to know how Tensorflow works with MongoDB as the database? This tutorial is for you.
MongoDB thumbnail image

Sep 05, 2024
Folasayo Samuel Olayemi
Article

MongoDB Provider for EF Core: The Latest Updates

Learn more about the new features in the GA release of the MongoDB Provider for EF Core.
MongoDB thumbnail image

Aug 29, 2024
Luce Carter
Article

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

Starting out with MongoDB and C#? These tips will help you get your class maps right from the beginning to support your desired schema.
MongoDB thumbnail image

Aug 05, 2024
Markus Wildgruber
News & Announcements

Introducing the MongoDB Analyzer for .NET

Say hello to the MongoDB Analyzer for .NET. This tool translates your C# queries to their MongoDB Query API equivalent.
MongoDB thumbnail image

Aug 05, 2024