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

Learn why MongoDB was selected as a leader in the 2024 Gartner® Magic Quadrant™
MongoDB Developer
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right
.Net

.NET

plus Follow
Sign in to follow topics

Featured

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
.NETAIC#

Jan 14, 2025 | 13 min read
Luce Carter
Video

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

MongoDB thumbnail image
Play Button

Nov 29, 2024 | 61 min
Tutorial

Handling Complex Aggregation Pipelines With C#

MongoDB thumbnail image

Nov 15, 2024 | 5 min read
.NET Tutorials
All .NET 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
All .NET Tutorials
.NET Videos
All .NET 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 .NET Content
search
  • Latestcheck
  • Highest Rated
Video

Atlas Full Text Search in a C# Blazor Application

Written tutorial → https://mdb.link/meszOxcR2o0-tutorial" target="_blank" rel="noreferrer">https://mdb.link/meszOxcR2o0-tutorial Imagine being presented with a website with a multiple pages of info and not being able to search for what you want. Instead, you’re forced to sift through the results with no end in sight. That is, of course, the last thing you want for yourself or your users. So in this video, we’ll see how you can easily implement autocomplete search in your .NET Blazor application using MongoDB Atlas Search. 📚 RESOURCES 📚 GitHub Repo → https://github.com/mongodb-developer/seesharpmovies Setting up your M0 Cluster - https://mdb.link/meszOxcR2o0-getting-started" target="_blank" rel="noreferrer">https://mdb.link/meszOxcR2o0-getting-started Getting your connection string → https://mdb.link/meszOxcR2o0-connection-string" target="_blank" rel="noreferrer">https://mdb.link/meszOxcR2o0-connection-string Atlas Search Docs → https://mdb.link/meszOxcR2o0-search" target="_blank" rel="noreferrer">https://mdb.link/meszOxcR2o0-search Loading Sample Dataset → https://mdb.link/meszOxcR2o0-data" target="_blank" rel="noreferrer">https://mdb.link/meszOxcR2o0-data GitHub Gist with code snippets → https://gist.github.com/LuceCarter/fa43ea5a4c28c43aa27d5e54f88079f4 ✅ Get help on our Community Forums → https://mdb.link/meszOxcR2o0- 💬 Connect with Luce: Twitter: / lucecarter1 ⏱️ Timestamps ⏱️ 00:00 - Intro 00:26 - Prerequisites 01:15 - Creating Atlas Search Index 04:12 - Implementing the backend functionality 07:02 - Implementing the frontend functionality 11:14 - Testing the application 13:09 - Outro Subscribe to MongoDB YouTube→ https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Feb 28, 2024
Tutorial

MongoDB Atlas Search with .NET Blazor for Full-Text Search

In this tutorial, learn how to add Atlas Search functionality with autocomplete and fuzzy search to a .NET Blazor application.
MongoDB thumbnail image

Feb 01, 2024
Luce Carter
Tutorial

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

MongoDB thumbnail image

Jan 24, 2024
Luce Carter
Tutorial

Interact with MongoDB Atlas in an AWS Lambda Function Using C#

In this tutorial, we'll see how to create a serverless function using the C# programming language and that function will connect to and query MongoDB Atlas in an efficient manner.
MongoDB thumbnail image

Jan 23, 2024
Hubert Nguyen
Video

Getting Started with the new MongoDB Provider for EF Core

Written tutorial → https://mdb.link/ghJUEhbnCFE-languages At .local London in October 2023, we announced the availability, in preview, of the new MongoDB Providers for EF Core. This has been a popular request in the community. In this video, we will take you through creating an ASP.NET MVC app with CRUD and change tracking using the new provider, all for free using MongoDB Atlas. 📚 RESOURCES 📚 GitHub Repo → https://trymongodb.com/48gKLJp Getting your connection string → https://mdb.link/ghJUEhbnCFE-connectionstring MongoDB Provider Announcement → https://mdb.link/ghJUEhbnCFE-entityframework ✅ Sign-up for a free cluster at → https://mdb.link/ghJUEhbnCFE-free ✅ Get help on our Community Forums → https://mdb.link/ghJUEhbnCFE-community 💬 Connect with Luce: Twitter: https://twitter.com/lucecarter1 ⏱️ Timestamps ⏱️ 00:00 - Intro 00:30 - Prerequisites 01:15 - Create the project 02:23 - Add the driver 03:21 - Add the models 06:25 - Setup EF Core 11:18 - Create the services 21:26 - Add the view models 24:47 - Create the controllers 32:39 - Create the views 43:14 - Test the application 47:00 - Outro Subscribe to our channel → https://mdb.link/subscribe #mongodb #dotnet #csharp #efcore
MongoDB thumbnail image
Play Button

Dec 15, 2023
Video

Interact with MongoDB Atlas and AWS Lambda Functions

Learn more → https://mdb.link/atlas-in-aws-function-csharp Get started with C Sharp → https://mdb.link/start-c-sharp In this week’s AWS Cloud Connect, Hubert Nguyen, Sr. Developer Advocate at MongoDB, shares practical insights on building a C# AWS Lambda serverless function with MongoDB Atlas. He demonstrates efficient techniques for creating and sharing a MongoDB client and connecting multiple class instances. For those interested in serverless architecture and AWS Lambda, MongoDB Atlas offers flexibility and ease of use.
MongoDB thumbnail image
Play Button

Sep 04, 2023
Tutorial

Building a Crypto News Website in C# Using the Microsoft Azure App Service and MongoDB Atlas

This article by Dominic Frei will lead you through creating your first Microsoft Blazor server application and deploying it to Microsoft Azure.
MongoDB thumbnail image

Jun 13, 2023
Dominic Frei
Video

How to use the MongoDB .NET Analyzer to Help with LINQ Queries in C#

✅ Sign-up for a free cluster at: https://bit.ly/mongodb-free ✅ Get help on our Community Forums: https://bit.ly/mongodb-community Learn how to use the MongoDB Analyzer for .NET and see how it can help you become more proficient at producing queries and aggregation pipelines in this video by Nic Raboy. 📚 For readers, here are written versions: https://trymongodb.com/3JWKujV ⏱️ Timestamps ⏱️ 0:00 Intro 0:34 Prerequisites 1:10 Exploring a .NET Application in Visual Studio 2:12 Installing the MongoDB Analyzer for C# 3:10 Analyzing a MongoDB Builder 5:45 Analyzing a MongoDB LINQ Query 7:16 Identifying Invalid Operators and Syntax 8:24 Outro --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #linq #csharp
MongoDB thumbnail image
Play Button

Aug 09, 2022
Video

Connecting to MongoDB from C# Applications

In this community created tutorial, learn how to connect to MongoDB Atlas from your C# application. Sign-up for a free cluster at: https://bit.ly/mongodb-free
MongoDB thumbnail image
Play Button

Dec 06, 2021
Video

Build an ASP.NET app with the Mongo C# Driver

✅ Sign-up for a free cluster at: https://mdb.link/free-gM4m5LizxL8 ✅ Get help on our Community Forums: https://mdb.link/community-gM4m5LizxL8 In this session, we will build a data-driven ASP.NET web app using the MongoDB driver to connect to MongoDB Atlas. You will learn how to incorporate the driver in your project and use both standard CRUD methods and the Aggregation Framework to work with the data. We will keep this project small enough that attendees can follow along on their own laptops if they want (but they must have Visual Studio 2019 installed ahead of time). This session assumes only a basic familiarity with C# and MongoDB.
MongoDB thumbnail image
Play Button

Jun 10, 2020