MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

CSharp

A general-purpose, multi-paradigm programming language. C# is a particularly useful language to learn for developing apps based on the .NET framework

Featured

random alt
Quickstart

MongoDB & C Sharp: CRUD Operations Tutorial

Learn how to perform CRUD operations using C Sharp for MongoDB databases....
CSharp

Sep 23, 2022
Ken W. Alger
News & Announcements

Introducing the MongoDB Analyzer for .NET


May 12, 2022
random alt
Quickstart

Build Your First .NET Core Application with MongoDB Atlas


May 23, 2022
CSharp Tutorials
All CSharp Tutorials
Tutorial

Saving Data in Unity3D Using Realm


Dec 08, 2022
Tutorial

Microsoft Blazor Tutorial (1/5): Building a Status Page


Sep 07, 2022
Tutorial

Interact with a GraphQL API from a .NET Core Application


Jul 26, 2022
All CSharp Tutorials
CSharp Videos
randomAlt
Play Button
Video

Interact with a GraphQL API from a .NET Core Application


Aug 30, 2022
randomAlt
Play Button
Video

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


Aug 09, 2022
randomAlt
Play Button
Video

Connecting to MongoDB from C# Applications


Dec 06, 2021
All CSharp Content
search
  • Newest
  • Highest Rated
alt not provided
Tutorial

Saving Data in Unity3D Using Realm

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

Dec 07, 2022
Dominic Frei
alt not provided
Tutorial

Microsoft Blazor Tutorial (1/5): Building a Status Page

This tutorial series leads you through creating your first Microsoft Blazor app by setting up a Status Page for backend services....

Sep 06, 2022
Dominic Frei
alt not provided
Play Button
Video

Interact with a GraphQL API from a .NET Core Application

✅ Sign-up for a free cluster at: https://bit.ly/mongodb-free ✅ Get help on our Community Forums: https://bit.ly/mongodb-community Need to query and consume data from a GraphQL API using C# or .NET? In this tutorial we'll see how to create a very basic GraphQL API using MongoDB without writing any GraphQL backend code. Then we'll see how to query it like any other GraphQL API, but using simple .NET code. 📚 For readers, here is a written version: https://trymongodb.com/3A7WDOq ⏱️ Timestamps ⏱️ 0:00 Intro 0:25 MongoDB Atlas and the Example Data Set 1:30 Creating and Configuring a GraphQL with MongoDB App Services 5:03 Consuming a GraphQL API with .NET Core 13:49 Defining Access Rules for MongoDB App Services 15:03 Reviewing the GraphQL with .NET Core and MongoDB Project --- Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #graphql #csharp...

Aug 30, 2022
alt not provided
Play Button
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 how it can help you become more proficient and producing queries and aggregation pipelines in this video by Nic Raboy. 📚 For readers, here are written versions: https://www.mongodb.com/developer/languages/csharp/introducing-mongodb-analyzer-dotnet/ ⏱️ 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...

Aug 09, 2022
alt not provided
Tutorial

Interact with a GraphQL API from a .NET Core Application

Learn how to query and consume a GraphQL API from a .NET Core Application....

Jul 26, 2022
Nic Raboy
alt not provided
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....

May 09, 2022
Nic Raboy
alt not provided
Code Example
SNIPPET

Saving Data in Unity3D Using SQLite

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

Apr 12, 2022
Dominic Frei
alt not provided
Code Example

How to Use MongoDB Client-Side Field Level Encryption (CSFLE) with C#

Learn how to use MongoDB client-side field level encryption (CSFLE) with a C# application....

Feb 18, 2022
Adrienne Tacke
alt not provided
Tutorial

Joining Collections in MongoDB with .NET Core and an Aggregation Pipeline

Learn how to use the MongoDB aggregation pipeline to create stages that will join documents and collections in a .NET Core application....

Feb 16, 2022
Nic Raboy
alt not provided
Tutorial

MongoDB Geospatial Queries in C#

If you've ever glanced at a map to find the closest lunch spots to you, you've most likely used a geospatial query under the hood! In this tutorial, we'll learn how to store geospatial data in MongoDB Atlas and how to work with geospatial queries in the MongoDB C# driver....

Feb 09, 2022
Adrienne Tacke