© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
L. CarterBeginning MongoDB Atlas with .NEThttps://doi.org/10.1007/978-1-4842-9550-2_8

8. Creating and Interacting with Documents from Code

Luce Carter1  
(1)
Manchester, UK
 

Things are really starting to come together. We have our Web API project up and running with Swagger so we can see the endpoints. We also have it successfully connecting to our Atlas cluster and listing our databases’ names.

In this chapter, we are going to cover quite a few exciting topics. The aim is to refactor the code slightly, so you are able to insert, query, update, and delete documents in your cluster, but be able to handle this data in a way we know well, with classes (a.k.a. models) ...

Get Beginning MongoDB Atlas with .NET: Flexible and Scalable Document Data Storage for .NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.