Build a Simple RESTful CRUD API in .NET 5 (ASP.Net Core) with MongoDB in 2021

A quick tutorial about creating a CRUD RESTFul API in ASP.Net Core (.NET 5) using MongoDB.

Prerequisites

  • IDE of choice (I’ll be using Jetbrains Rider).
  • Docker Desktop (for deploying MongoDB).
  • Basic knowledge of RESTful API’s, ASPNetCore, and MongoDB