You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: actors/csharp/sdk/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Dapr Actors (Dapr SDK)
2
2
3
3
Let's take a look at the Dapr [Actors building block](https://docs.dapr.io/developing-applications/building-blocks/actors/actors-overview/). In this Quickstart, you will run a SmartDevice.Service microservice and a simple console client to demonstrate the stateful object patterns in Dapr Actors.
4
-
1. Using a SmartDevice.Service microservice, developers can host two SmartDectectorActor smoke alarm objects, and a third ControllerActor object that command and controls the smart devices.
4
+
1. Using a SmartDevice.Service microservice, developers can host two SmartDetectorActor smoke alarm objects, and a third ControllerActor object that command and controls the smart devices.
5
5
2. Using a SmartDevice.Client console app, developers have a client app to interact with each actor, or the controller to perform actions in aggregate.
6
6
3. The SmartDevice.Interfaces contains the shared interfaces and data types used by both service and client apps
7
7
@@ -18,7 +18,7 @@ For this example, you will need:
18
18
19
19
### Step 2: Set up the environment
20
20
21
-
Clone the [sample provided in the Quickstarts repo](https://github.com/dapr/quickstarts/tree/master/workflows).
21
+
Clone the [sample provided in the Quickstarts repo](https://github.com/dapr/quickstarts/tree/master/actors).
Copy file name to clipboardExpand all lines: bindings/csharp/sdk/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Dapr Bindings (Dapr SDK)
2
2
3
-
In this quickstart, you'll create a microservice to demonstrate Dapr's bindings API to work with external systems as inputs and outputs. The service listens to input binding events from a system CRON and then outputs the contents of local data to a PostreSql output binding.
3
+
In this quickstart, you'll create a microservice to demonstrate Dapr's bindings API to work with external systems as inputs and outputs. The service listens to input binding events from a system CRON and then outputs the contents of local data to a PostgreSQL output binding.
4
4
5
5
Visit [this](https://docs.dapr.io/developing-applications/building-blocks/bindings/) link for more information about Dapr and Bindings.
Once both services are running, the `order-processor` service will recieve orders from the `checkout`service continuously using Dapr's service invoke API.
109
+
Once both services are running, the `order-processor` service will receive orders from the `checkout`service continuously using Dapr's service invoke API.
110
110
111
111
##### `order-processor` output
112
112
@@ -116,7 +116,7 @@ Once both services are running, the `order-processor` service will recieve order
116
116
== APP == Order received: { orderId: 3 }
117
117
```
118
118
119
-
### Simulate ann application failure by stopping the `order-processor` service
119
+
### Simulate an application failure by stopping the `order-processor` service
120
120
121
121
Simulate a system failure by stopping the `order-processor` service running in your second terminal window.
122
122
@@ -159,39 +159,39 @@ Simulate the `order-processor` service recovering by restarting the application
159
159
##### Order Processor Service
160
160
161
161
```bash
162
-
dapr run --app-port 7001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- dotnet run
162
+
dapr run --app-port 7001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- dotnet run
163
163
```
164
164
165
165
### Go example
166
166
167
167
##### Order Processor Service
168
168
169
169
```bash
170
-
dapr run --app-port 6001 --app-id order-processor --resources-path --app-protocol http --dapr-http-port 3501 -- go run .
170
+
dapr run --app-port 6001 --app-id order-processor --resources-path ../../../resources/ --app-protocol http --dapr-http-port 3501 -- go run .
The front-end application consists of a server and a client written in [React](https://reactjs.org/).
11
-
Kudos to `ahfarmer` whose [React calculator](https://github.com/ahfarmer/calculator)
11
+
Kudos to `ahfarmer` whose [React calculator](https://github.com/ahfarmer/calculator) was used as a starting point for the frontend implementation.
12
12
13
13
The following architecture diagram illustrates the components that make up this quickstart:
14
14
@@ -160,7 +160,7 @@ sleep: 2
160
160
4. Multiply App - Open a terminal window and navigate to the python directory and follow the steps below:
161
161
162
162
<!-- STEP
163
-
name: "Build ptyhon app"
163
+
name: "Build python app"
164
164
working_dir: "./python"
165
165
-->
166
166
@@ -227,7 +227,7 @@ expected_stdout_lines:
227
227
- "Exited App successfully"
228
228
expected_stderr_lines:
229
229
output_match_mode: substring
230
-
name: "Run frontent app"
230
+
name: "Run frontend app"
231
231
working_dir: "./react-calculator"
232
232
background: true
233
233
sleep: 15
@@ -393,7 +393,7 @@ kubectl apply -f .
393
393
394
394
Each of the services will spin up a pod with two containers: one for your service and one for the Dapr sidecar. It will also configure a service for each sidecar and an external IP for the front-end, which allows us to connect to it externally.
395
395
396
-
4. Kubernetes deployments are asyncronous. This means you'll need to wait for the deployment to complete before moving on to the next steps. You can do so with the following commands:
396
+
4. Kubernetes deployments are asynchronous. This means you'll need to wait for the deployment to complete before moving on to the next steps. You can do so with the following commands:
Copy file name to clipboardExpand all lines: workflows/go/sdk/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The quickstart contains 1 workflow (OrderProcessingWorkflow) which simulates pur
12
12
activities are as follows:
13
13
14
14
- NotifyActivity: This activity utilizes a logger to print out messages throughout the workflow. These messages notify the user when there is insufficient
15
-
§inventory, their payment couldn't be processed, and more.
15
+
inventory, their payment couldn't be processed, and more.
16
16
- VerifyInventoryActivity: This activity checks the state store to ensure that there is enough inventory present for purchase.
17
17
- RequestApprovalActivity: This activity seeks approval from a manager, if payment is greater than 5000 USD.
18
18
- ProcessPaymentActivity: This activity is responsible for processing and authorizing the payment.
0 commit comments