@@ -50,23 +50,23 @@ dapr run --app-id actorservice --app-port 5001 --app-protocol http --dapr-http-p
5050Expected output:
5151
5252``` bash
53- == APP == info: Microsoft.Hosting.Lifetime[14]
54- == APP == Now listening on: http://localhost:5001
55- == APP == info: Microsoft.Hosting.Lifetime[0]
56- == APP == Application started. Press Ctrl+C to shut down.
57- == APP == info: Microsoft.Hosting.Lifetime[0]
58- == APP == Hosting environment: Production
59- == APP == info: Microsoft.Hosting.Lifetime[0]
60- == APP == info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
61- == APP == Request starting HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - application/json -
62- == APP == warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
63- == APP == Failed to determine the https port for redirect.
64- == APP == info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
65- == APP == Executing endpoint ' Dapr Actors Config'
66- == APP == info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
67- == APP == Executed endpoint ' Dapr Actors Config'
68- == APP == info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
69- == APP == Request finished HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - 200 - application/json 30.6175ms
53+ info: Microsoft.Hosting.Lifetime[14]
54+ Now listening on: http://localhost:5001
55+ info: Microsoft.Hosting.Lifetime[0]
56+ Application started. Press Ctrl+C to shut down.
57+ info: Microsoft.Hosting.Lifetime[0]
58+ Hosting environment: Production
59+ info: Microsoft.Hosting.Lifetime[0]
60+ info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
61+ Request starting HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - application/json -
62+ warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
63+ Failed to determine the https port for redirect.
64+ info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
65+ Executing endpoint ' Dapr Actors Config'
66+ info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
67+ Executed endpoint ' Dapr Actors Config'
68+ info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
69+ Request finished HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - 200 - application/json 30.6175ms
7070```
7171
7272### Step 4: Run the client app
@@ -93,23 +93,23 @@ dapr run --app-id actorclient -- dotnet run
9393Expected output:
9494
9595``` bash
96- == APP == Startup up...
97- == APP == Calling SetDataAsync on SmokeDetectorActor:1...
98- == APP == Got response: Success
99- == APP == Calling GetDataAsync on SmokeDetectorActor:1...
100- == APP == Device 1 state: Location: First Floor, Status: Ready
101- == APP == Calling SetDataAsync on SmokeDetectorActor:2...
102- == APP == Got response: Success
103- == APP == Calling GetDataAsync on SmokeDetectorActor:2...
104- == APP == Device 2 state: Location: Second Floor, Status: Ready
105- == APP == Registering the IDs of both Devices...
106- == APP == Registered devices: 1, 2
107- == APP == Detecting smoke on Device 1...
108- == APP == Device 1 state: Location: First Floor, Status: Alarm
109- == APP == Device 2 state: Location: Second Floor, Status: Alarm
110- == APP == Sleeping for 16 seconds before checking status again to see reminders fire and clear alarms
111- == APP == Device 1 state: Location: First Floor, Status: Ready
112- == APP == Device 2 state: Location: Second Floor, Status: Ready
96+ Startup up...
97+ Calling SetDataAsync on SmokeDetectorActor:1...
98+ Got response: Success
99+ Calling GetDataAsync on SmokeDetectorActor:1...
100+ Device 1 state: Location: First Floor, Status: Ready
101+ Calling SetDataAsync on SmokeDetectorActor:2...
102+ Got response: Success
103+ Calling GetDataAsync on SmokeDetectorActor:2...
104+ Device 2 state: Location: Second Floor, Status: Ready
105+ Registering the IDs of both Devices...
106+ Registered devices: 1, 2
107+ Detecting smoke on Device 1...
108+ Device 1 state: Location: First Floor, Status: Alarm
109+ Device 2 state: Location: Second Floor, Status: Alarm
110+ Sleeping for 16 seconds before checking status again to see reminders fire and clear alarms
111+ Device 1 state: Location: First Floor, Status: Ready
112+ Device 2 state: Location: Second Floor, Status: Ready
113113```
114114
115115### Cleanup
0 commit comments