First ASP.NET Core Microservice with Web API CRUD Operations on a MongoDB database [Clean Architecture]
In this tutorial we will build our first Microservice in ASP.NET Core which will perform CRUD operations on a MongoDB database. The CRUD operations will be performed though a Web API method. This Microservice will form a part of a drone pizza delivery application.
This repository is updated to .NET 8.0
- Drone Pizza Delivery Application in Microservices Architecture
- What is a Microservice
- Monolith Architecture
- Creating First ASP.NET Core Microservice
- Entities and Data Transfer objects
- MongoDB Connection String, Configuration, Repository and Settings
- Running MongoDB database from a Docker Container
- Creating Web API to Perform CRUD operations
- Installing Swagger in ASP.NET Core App
- Create an Order
- Get all Orders
- Get Order by it’s Id
- Update an Order
- Delete an Order
Read the entire article here - https://www.hosting.work/aspnet-core-microservice-web-api-crud-mongodb/
Your support of every $5 will be a great reward for me to carry on my work. Thank you!