A micro service template
dotnet ef migrations add Init -s src/Ordering.Api -c OrderingContext -p src/Ordering.Infrastructure
dotnet ef dbcontext optimize -s src/Ordering.Api \
-c OrderingContext -p src/Ordering.Infrastructure \
-o CompileModels -n Ordering.Infrastructure.CompileModels
- 建议使用 schema 参数来进行隔离, 不再使用 table prefix 进行隔离
dapr run --app-id ordering-api --app-port 5001 --dapr-http-port 5101 --dapr-grpc-port 5102 --config ./dapr/config.yaml --components-path ./dapr/components