An example of building .NET Core microservices with Dapr and Tye
An example of building .NET Core microservices with Dapr and Tye
products-api
, inventories-api
, graphql-api
run as Dapr clients which can be started by dapr run
or tye run
.Services Communication
products-api
then publish an event to inventories-api
to create a product as well.products-api
within inventories information from inventories-api
Observability
There are 2 options to start services
Starts Services with Tye which is default mode
dapr run
command.Perhaps, this question maybe rise up when every one touch this repository. It just because this repo aims to apply purely Dapr before apply Tye in order to understand
- Run many services with one command
- Use dependencies in containers
- Discover addresses of other services using simple conventions
After experience on locally and see how Tye is useful, then we may want to step up by deploy to Kubernetes, of course with Tye as well. This guide is step-by-step of:
tye deploy
to deploy our micro-services to Kuberneteskubectl port-forward
If you liked this project or if it helped you, please give a star :star: for this repository. Thank you!!!