An open API service indexing awesome lists of open source software.

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]

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 Order

Read 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!

Buy Me A Coffee
Paypal Me