MongoDB with C# and .NET 9 — 9/16: Minimal REST API with Embedded Classes and MongoDB Mapping

Giovanni Pace

Description

Let's start building the Minimal REST API in .NET 9 connected to MongoDB: I'll configure the client as a service, register dependencies in the DI container, and map the first HTTP endpoints.