EventGet 50% off your ticket to MongoDB.local NYC on May 2. Use code Web50!Learn more >>
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#

Feb 03, 2023 | 6 min read
Nic Raboy
News & Announcements

Introducing the MongoDB Analyzer for .NET


May 12, 2022 | 6 min read
Tutorial

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

MongoDB thumbnail image

Feb 14, 2023 | 8 min read
C# Articles
All C# Articles
Article

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

MongoDB thumbnail image

Dec 14, 2023 | 8 min read
Article

How to Use Realm Effectively in a Xamarin.Forms App

MongoDB thumbnail image

Oct 19, 2022 | 18 min read
Article

Advanced Data Modeling with Realm .NET

MongoDB Realm Logo

Oct 19, 2022 | 7 min read
All C# Articles
C# Tutorials
All C# Tutorials
Tutorial

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

MongoDB thumbnail image

Feb 29, 2024 | 10 min read
Tutorial

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

MongoDB thumbnail image

Feb 01, 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# Videos
All C# Videos
Video

MongoDB C# Driver and Azure App Services

MongoDB thumbnail image
Play Button

Mar 07, 2024 | 17 min
Video

Atlas Full Text Search in a C# Blazor Application

MongoDB thumbnail image
Play Button

Feb 28, 2024 | 13 min
Video

Getting Started with the new MongoDB Provider for EF Core

MongoDB thumbnail image
Play Button

Dec 15, 2023 | 47 min
All C# Content
search
  • Latest
  • Highest Rated
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://azure.microsoft.com/free 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
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
Article

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

...
MongoDB thumbnail image

Dec 14, 2023
Markus Wildgruber
Tutorial

Online/Offline Data-Capable Cross-Platform Apps with MongoDB Atlas, Atlas Device SDKs and .NET MAUI

A tutorial showing how to get started with Atlas Device SDKs, MongoDB Atlas and .NET MAUI...
MongoDB Realm Logo

Nov 14, 2023
Luce Carter
Video

Announcing MongoDB Provider for Entity Framework Core

Join us this week on MongoDB TV as host Nic Raboy is joined by EP experts James Kovacs from MongoDB, Damien Guard from Intracia, Arthur Vickers and Shay Rojanksy from Microsoft as they delve into the exciting journey of the Entity Provider's adoption within the C# developer community. This groundbreaking development promises to streamline the integration of MongoDB with existing technologies, significantly lowering the learning curve and broadening MongoDB's presence in the developer marketplace. Learn More → https://mdb.link/Entity-Framework-Provider-doc Official MongoDB Entity Framework Core Provider → https://mdb.link/EntityFrameworkCore...
MongoDB thumbnail image
Play Button

Nov 06, 2023