This is a simple project that implements dotnet grpc, basically we have two services: Basket and Product, inside the Basket service we have 3 features:
- We can get all items that are inside a basket
- We can add a new product inside a basket
- We can remove a product from a basket
When adding a new product to a basket, to ensure that it is a valid product, a call is madei via gRPC from the Basket service to the Product service, simple as that.
It is necessary to start both services when running the project, for this you must:
- Click on the solution with the right mouse button and select option
Configure Startup Projects...
- Select the
Multiple startup projects
and set theAction
of the two projects toStart