Conclusion / Learn
Connecting to MongoDB in C#
In this unit, you learned how to:
- Install the MongoDB C# driver by using the NuGet package manager.
- Connect to an Atlas cluster from a C# application.
- Use the MongoClient instance.
- Troubleshoot common connection issues when using the MongoDB C# driver.
Resources
Use the following resources to learn more about using the MongoDB driver to connect your C# application to MongoDB:
Lesson 01: Using MongoDB C# Client Libraries
Lesson 02: Connecting to an Atlas Cluster in C# Applications
- MongoDB Docs: Get Connection String
- MongoDB Docs: Connection String Format
- MongoDB C# Connection to Atlas
Lesson 03: Troubleshooting a MongoDB Connection in C# Applications
MongoDB C# Drivers Course
By completing this unit, you've taken a step toward completing the MongoDB C# Drivers course.
If you're interested in continuing, your next step is to review the following unit:
- Unit 02: MongoDB CRUD Operations in C#