Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.

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 Center
chevron-right
Developer Topics
chevron-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

Jan 14, 2025 | 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

How to Build an AI Agent with Semantic Kernel, MongoDB Atlas, C# and OpenAI

MongoDB thumbnail image
Play Button

Mar 19, 2025 | 23 min
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
All C# Content
search
  • Latestcheck
  • Highest Rated
Video

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

Written Article - https://mdb.link/AaRv8n044BE-arcticle Great news! The new Provider for EF Core is now GA and in this video, Developer Advocate Luce Carter will show you some of the exciting new features available now! RESOURCES - GitHub Repo - https://github.com/mongodb-developer/foodiefinder-csharp Provider Repo inc Roadmap - https://github.com/mongodb/mongo-efcore-provider Get help on our Community Forums - https://mdb.link/AaRv8n044BE-forums Connect with Luce: Twitter - @lucecarter1 Timestamps: 00:00 - Introduction 00:18 - Embedded Documents 01:30 - Detailed Logging 03:49 - BSON Attributes 05:05 - Value Converters
MongoDB thumbnail image
Play Button

Jun 13, 2024
Tutorial

Using LINQ to Query MongoDB in a .NET Core Application

Learn how to use LINQ to interact with MongoDB in a .NET Core application.
MongoDB thumbnail image

Jun 10, 2024
Nic Raboy
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

Jun 04, 2024
Nic Raboy
Tutorial

Using Polymorphism with MongoDB and C#

An article discussing when and how to use polymorphism in a C# application using the MongoDB C# Driver.
MongoDB thumbnail image

Apr 30, 2024
Markus Wildgruber
Video

Getting Started with Atlas Vector Search and .NET Blazor

✅ Written tutorial → https://mdb.link/article-cdUSQCDtcso ✅ Sign-up for a free cluster at → https://mdb.link/free-cdUSQCDtcso ✅ Get help on our Community Forums → https://mdb.link/community-cdUSQCDtcso In this video, join Developer Advocate Luce Carter to learn all about adding Vector Search using the MongoDB C# Driver inside a Blazor Application to find more than just simple search results. 📚 RESOURCES 📚 ⭐ GitHub Repo - https://github.com/mongodb-developer/SeeSharpMovies/tree/vector-search ⭐ Hugging Face Data Uploader GitHub Repo - https://github.com/mongodb-developer/dotnethuggingfacedatasetuploader ⭐ Code Snippets - https://gist.github.com/LuceCarter/fb314d431fc47b1a7baed641720e6f45 ⭐ Setting up your M0 Cluster - https://www.mongodb.com/docs/atlas/getting-started/ ⭐ Generative AI, Vector Search, and open-source models - https://mdb.link/os-models-cdUSQCDtcso Connect with Luce: Twitter: / lucecarter1 ------ ✅ Subscribe to our channel → https://mdb.link/subscribe #dotnet #vector #mongodb
MongoDB thumbnail image
Play Button

Apr 15, 2024
Tutorial

Getting Started with MongoDB Atlas and Azure Functions using .NET and C#

Learn how to build scalable serverless functions on Azure that communicate with MongoDB Atlas using C# and .NET.
MongoDB thumbnail image

Apr 02, 2024
Nic Raboy
Tutorial

Getting Started with Unity for Creating a 2D Game

Learn how to get started with Unity for moving an object on the screen with physics and collisions.
MongoDB thumbnail image

Apr 02, 2024
Nic Raboy
Tutorial

Designing a Strategy to Develop a Game with Unity and MongoDB

Learn how to design a strategy towards developing the next big online game that uses MongoDB.
MongoDB thumbnail image

Apr 02, 2024
Nic Raboy
Video

MongoDB C# Driver and Azure App Services

✅ Written tutorial - https://mdblink.com/acSl3BcXS1Q-written ✅ Get help on our Community Forums - https://mdblink.com/acSl3BcXS1Q-forums - In this video, join Developer Advocate Luce Carter to learn all about using the MongoDB C# Driver inside a Blazor Application and deploying to Azure App Services for cloud-hosted goodness. - Gist with the code for NewsPage.razor - https://gist.github.com/LuceCarter/4da1164f9cfd447b7167194ef9c3124a - 📚 RESOURCES 📚 ✅ GitHub Repo - https://github.com/mongodb-developer/crypto-news-website ✅ Setting up your M0 Cluster - https://mdblink.com/acSl3BcXS1Q-M0-Cluster ✅ Signing up for a free Azure account - https://trymongodb.com/46MPRxL Showing how to add connection string inside Azure - https://youtu.be/wqZFZbmPvno?si=BkzzLOqNdnbpkNe9&t=385 💬 Connect with Luce: Twitter: /lucecarter1 Timestamps: 00:00 - Intro 00:44 - Prerequisites 01:43 - Create the project 03:22 - Add the MongoDB driver 05:06 - Add the test data 07:20 - Fetch your connection string 08:17 - Add a news page 13:56 - Publish to Azure App Service 16:12 - Outro
MongoDB thumbnail image
Play Button

Mar 07, 2024
Tutorial

Adding MongoDB Atlas Vector Search to a .NET Blazor C# Application

Learn how to get started with Atlas Vector Search in a .NET Blazor application with the C# driver, including embeddings and adding search functionality.
MongoDB thumbnail image

Feb 29, 2024
Luce Carter