-
Notifications
You must be signed in to change notification settings - Fork 2
/
demo-scripts.txt
26 lines (16 loc) · 910 Bytes
/
demo-scripts.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
1) ---- CLIENT - SERVICE INVOCATION -----
Server (AspNetCore\GrpcServiceSample): dapr run --app-id grpcsample --app-port 5050 --app-protocol grpc -- dotnet run
Client (Client\ServiceInvocation): dapr run --app-id DaprClient -- dotnet run 0
2) ---- CLIENT - STATE MANAGEMENT -----
Secret Store:
dapr run --app-id DaprClient --components-path .\components\ -- dotnet run 0
State Store:
dapr run --app-id DaprClient --components-path .\components\ -- dotnet run 1
3) ---- CLIENT - PUBLISH-SUBCRIBE -----
3.1) Using Dapr Redis component
Subscriber: dapr run --app-id subscriber --app-port 5000 -- dotnet run
Publisher: dapr run --app-id publisher -- dotnet run 0
3.2) Using Azure Service Bus
Azure Service bus:
Subscriber: dapr run --app-id subscriber --app-port 5000 --components-path ./components -- dotnet run
Publisher: dapr run --app-id publisher --components-path ./components -- dotnet run 0