https://github.com/yogyogi/first-asp.net-core-microservice
First ASP.NET Core Microservice with Web API CRUD Operations on a MongoDB database [Clean Architecture]
https://github.com/yogyogi/first-asp.net-core-microservice
asp-net-core microservices mongo mongodb web-api
Last synced: 12 days ago
JSON representation
First ASP.NET Core Microservice with Web API CRUD Operations on a MongoDB database [Clean Architecture]
- Host: GitHub
- URL: https://github.com/yogyogi/first-asp.net-core-microservice
- Owner: yogyogi
- Created: 2021-05-03T13:46:56.000Z (almost 4 years ago)
- Default Branch: Main
- Last Pushed: 2024-02-14T12:58:04.000Z (about 1 year ago)
- Last Synced: 2025-03-25T09:02:22.065Z (29 days ago)
- Topics: asp-net-core, microservices, mongo, mongodb, web-api
- Language: C#
- Homepage: https://www.hosting.work/aspnet-core-microservice-web-api-crud-mongodb/
- Size: 20.7 MB
- Stars: 10
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**
# Tutorial Contents
1. Drone Pizza Delivery Application in Microservices Architecture
2. What is a Microservice
3. Monolith Architecture
4. Creating First ASP.NET Core Microservice
5. Entities and Data Transfer objects
6. MongoDB Connection String, Configuration, Repository and Settings
7. Running MongoDB database from a Docker Container
8. Creating Web API to Perform CRUD operations
9. Installing Swagger in ASP.NET Core App
10. Create an Order
11. Get all Orders
12. Get Order by it’s Id
13. Update an Order
14. Delete an OrderRead the entire article here - https://www.hosting.work/aspnet-core-microservice-web-api-crud-mongodb/
## Want to support me ?
Your support of every $5 will be a great reward for me to carry on my work. Thank you!