Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
076c0ef
fix things
siri-varma Jan 25, 2026
dfaf0d4
Merge branch 'master' into users/svegiraju/java-http-ex
siri-varma Jan 25, 2026
5523b65
python tutorial for workflow versioning
acroca Jan 27, 2026
bbe0ddb
Merge branch 'master' into workflow-versioning
acroca Jan 27, 2026
5d56177
Fixed versioning readme with actual output of the app.
acroca Jan 27, 2026
208e9c4
RC 3, cli rc 2, sdks
alicejgibbons Feb 3, 2026
63b8050
Dotnet workflow fix
alicejgibbons Feb 3, 2026
85cedc1
feat: update py + go http convo fields
sicoyle Feb 3, 2026
ff2dcfe
Java jobs fix
alicejgibbons Feb 3, 2026
9c46f6b
go SDK 1.14.rc1
alicejgibbons Feb 3, 2026
91ebd9a
Timeout updated
alicejgibbons Feb 3, 2026
c4c69cd
Merge pull request #1278 from dapr/alicejgibbons/rc-117
alicejgibbons Feb 4, 2026
59bcb7b
Merge branch 'release-1.17' into feat-convo-api-new-fields
alicejgibbons Feb 4, 2026
d00f864
Merge branch 'release-1.17' into workflow-versioning
alicejgibbons Feb 4, 2026
e28e073
Update conversation/java/http/README.md
siri-varma Feb 5, 2026
01629b7
Update conversation/java/http/conversation/src/main/java/com/service/…
siri-varma Feb 5, 2026
7e8dfc0
Adjusted examples
acroca Jan 27, 2026
6244b3f
Removed mechanical markdown
acroca Feb 10, 2026
c944543
Redesigned python tutorial for workflow versioning
acroca Feb 12, 2026
a011eda
Addressed comments from @alicejgibbons
acroca Feb 13, 2026
4631195
Fixed incorrect version names
acroca Feb 13, 2026
bd338bc
Merge pull request #1277 from acroca/workflow-versioning
alicejgibbons Feb 13, 2026
a057cd9
Added project demonstrating patch and name based versioning in the .N…
WhitWaldo Feb 14, 2026
e5288d8
Added README to project with description and run information
WhitWaldo Feb 14, 2026
3151488
Add tool call
siri-varma Feb 16, 2026
2a289a4
Add tool call
siri-varma Feb 16, 2026
46807a8
Add tool call
siri-varma Feb 16, 2026
3f4c0fd
fix things
siri-varma Feb 16, 2026
3b00388
Update README with additional expected output lines
siri-varma Feb 16, 2026
8987406
Update README.md
siri-varma Feb 17, 2026
8e51071
Delete tutorials/workflow/python/fundamentals/basic/jnrcvz5v.componen…
siri-varma Feb 17, 2026
007d5a9
feat: Update java conversation quickstart
javier-aliaga Feb 11, 2026
fd1b8df
Update conversation/java/http/README.md
alicejgibbons Feb 17, 2026
824624c
feat: Workflow versioning
javier-aliaga Feb 17, 2026
d458320
Enable Multi-App Run for Java HTTP bindings quickstart
AdepuSriCharan Feb 17, 2026
54c5970
Merge pull request #1287 from javier-aliaga/java-conversation-update
alicejgibbons Feb 17, 2026
6eb7b50
Merge pull request #1276 from siri-varma/users/svegiraju/java-http-ex
alicejgibbons Feb 17, 2026
27f4f24
fix: remove TTY flag from postgres verification for CI compatibility
AdepuSriCharan Feb 18, 2026
34533cd
Merge branch 'release-1.17' into java-workflow-versioning-tutorial
javier-aliaga Feb 20, 2026
47d5066
feat: update sdk rcs
nelson-parente Feb 20, 2026
26ca276
Merge pull request #1291 from dapr/feat/update-rcs
marcduiker Feb 23, 2026
fb99ef2
fix: more updates to make build happy
sicoyle Feb 23, 2026
66ec4cc
fix(build): address conflcits
sicoyle Feb 23, 2026
8017d64
Merge branch 'release-1.17' into feat-convo-api-new-fields
sicoyle Feb 23, 2026
f3fdcdf
fix: go mod tidy
sicoyle Feb 23, 2026
88ac19e
feat: add csharp, java, js
sicoyle Feb 23, 2026
da760fc
fix( build): updates for build to pass
sicoyle Feb 23, 2026
73e6357
fix(build): enable ollama in ci
sicoyle Feb 23, 2026
6249f84
style: make output substring
sicoyle Feb 23, 2026
0193a69
style: fix csharp output
sicoyle Feb 23, 2026
b3f62c1
fix: update the python sdk for build faliure
sicoyle Feb 23, 2026
07ccfa7
style: update outputs
sicoyle Feb 23, 2026
ffa9705
fix: req tool calls so we can always expect that in output
sicoyle Feb 23, 2026
3354718
fix: correct py usage metrics to show
sicoyle Feb 24, 2026
5051301
Merge branch 'release-1.17' into java-workflow-versioning-tutorial
alicejgibbons Feb 25, 2026
d355654
Merge branch 'release-1.17' into feature/multiapp-bindings
alicejgibbons Feb 25, 2026
7e10992
docs: Align with other sdks
javier-aliaga Feb 25, 2026
12b864b
fix: use packaged JAR with Multi-App Run and update README build steps
AdepuSriCharan Feb 25, 2026
217858b
chore: Address comments
javier-aliaga Feb 26, 2026
8137780
Merge pull request #1289 from javier-aliaga/java-workflow-versioning-…
alicejgibbons Feb 26, 2026
bfb6bcc
Merge branch 'release-1.17' into feature/multiapp-bindings
AdepuSriCharan Feb 26, 2026
56e023f
Merge pull request #1290 from AdepuSriCharan/feature/multiapp-bindings
alicejgibbons Feb 26, 2026
6b65172
Merge branch 'release-1.17' into feat-convo-api-new-fields
alicejgibbons Feb 26, 2026
d365dc3
feat(javascript): enable Multi-App Run for HTTP bindings quickstart
AdepuSriCharan Feb 26, 2026
cc54fb8
Apply suggestions from code review
WhitWaldo Feb 26, 2026
383c029
fix: updates for python and go
sicoyle Feb 27, 2026
14cc64b
Merge branch 'feat-convo-api-new-fields' of github.com:sicoyle/quicks…
sicoyle Feb 27, 2026
ebff0e2
fix: update to latest release for go
sicoyle Feb 27, 2026
454fbf3
Update .NET projects to 1.17
marcduiker Mar 2, 2026
5bbce00
Update Python to 1.17.0
marcduiker Mar 2, 2026
6f974d7
Update Java to 1.17
marcduiker Mar 2, 2026
f0d7c75
Update Go to 1.17 and add stament to ensure Go update script works
marcduiker Mar 2, 2026
66c00ae
Merge pull request #1293 from marcduiker/release-1.17
alicejgibbons Mar 2, 2026
7b69917
Merge branch 'release-1.17' into feat-convo-api-new-fields
alicejgibbons Mar 2, 2026
a8edf16
fix: rm response formatting on tool call ex
sicoyle Mar 2, 2026
e666b00
Merge branch 'feat-convo-api-new-fields' of github.com:sicoyle/quicks…
sicoyle Mar 2, 2026
8c02d85
style: handle for if tool calls are not made by ollama
sicoyle Mar 2, 2026
7c8cc4d
fix(python): revert all sdk changes on python for now
sicoyle Mar 2, 2026
0ce2e67
Merge branch 'release-1.17' into feature/js-multiapp-bindings
AdepuSriCharan Mar 3, 2026
b52338f
Commented out workflows with two steps of instructions with context s…
WhitWaldo Mar 3, 2026
6f814c9
Merge remote-tracking branch 'origin/wf-versioning' into wf-versioning
WhitWaldo Mar 3, 2026
920c9e9
Merge pull request #1283 from sicoyle/feat-convo-api-new-fields
alicejgibbons Mar 3, 2026
8032fdb
Remvoing versioning workflow tips as it's outdated and irrelevant fol…
WhitWaldo Mar 3, 2026
3079401
Added mermaid diagrams to illustrate
WhitWaldo Mar 3, 2026
71e5184
Updating instructions for the second workflow
WhitWaldo Mar 3, 2026
c09e294
Set missing required version on openapi conversation component
jjcollinge Mar 4, 2026
7c88e91
Merge branch 'release-1.17' into jjcollinge/set-openapi-comp-v
alicejgibbons Mar 4, 2026
3f4662d
Merge pull request #1295 from jjcollinge/jjcollinge/set-openapi-comp-v
alicejgibbons Mar 4, 2026
d6bcbbb
Apply suggestions from code review
alicejgibbons Mar 4, 2026
8284a48
Updated to use multi-app run file with Dapr CLI instead of just usin…
WhitWaldo Mar 4, 2026
c1d2ef2
Merge remote-tracking branch 'origin/wf-versioning' into wf-versioning
WhitWaldo Mar 4, 2026
51a0b64
Merge branch 'release-1.17' into wf-versioning
alicejgibbons Mar 4, 2026
d4b6047
Merge pull request #1288 from WhitWaldo/wf-versioning
alicejgibbons Mar 4, 2026
a9da34d
Merge pull request #1294 from WhitWaldo/remove-version-tips
alicejgibbons Mar 4, 2026
cc2c114
Merge branch 'release-1.17' into feature/js-multiapp-bindings
alicejgibbons Mar 4, 2026
4c7ee06
Update .github/env/global.env
alicejgibbons Mar 4, 2026
b3fafb6
Update .github/env/global.env
alicejgibbons Mar 4, 2026
cdf7f30
fix(javascript): update expected stdout lines for multi-app run valid…
AdepuSriCharan Mar 4, 2026
697bce0
Merge branch 'release-1.17' into feature/js-multiapp-bindings
AdepuSriCharan Mar 4, 2026
ab412af
Removed all mention of APP in testing
alicejgibbons Mar 4, 2026
421446f
Fixing some tests
alicejgibbons Mar 4, 2026
6915373
Changing logging to use print on python
alicejgibbons Mar 4, 2026
3b8a0c7
Changing logging to use print on python
alicejgibbons Mar 4, 2026
27eff9f
workflow fix
alicejgibbons Mar 4, 2026
c5d1f22
Merge branch 'release-1.17' into feature/js-multiapp-bindings
AdepuSriCharan Mar 4, 2026
4d92eb1
Added multi-app run for all bindings
alicejgibbons Mar 5, 2026
ebb8549
merge: sync with release-1.17 and resolve conflicts
AdepuSriCharan Mar 5, 2026
07d1899
Python secrets fix
alicejgibbons Mar 6, 2026
8d594e8
Merge branch 'release-1.17' into feature/js-multiapp-bindings
alicejgibbons Mar 6, 2026
08a042a
Merge pull request #1292 from AdepuSriCharan/feature/js-multiapp-bind…
alicejgibbons Mar 6, 2026
fa5d956
Python tests
alicejgibbons Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/env/global.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DAPR_CLI_VERSION: 1.16.1
DAPR_RUNTIME_VERSION: 1.16.0
DAPR_CLI_VERSION: 1.17.0
DAPR_RUNTIME_VERSION: 1.17.0
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v${DAPR_CLI_VERSION}/install/
DAPR_DEFAULT_IMAGE_REGISTRY: ghcr

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/validate_csharp_quickstarts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ jobs:
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
dapr --version
- name: Cache Ollama models
uses: actions/cache@v4
with:
path: ~/.ollama
key: ${{ runner.os }}-ollama-llama3.2
- name: Setup Ollama
uses: ai-action/setup-ollama@v2
- name: Pull Ollama model
run: ollama pull llama3.2:latest
- name: Install utilities dependencies
run: |
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/validate_go_quickstarts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ jobs:
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
dapr --version
- name: Cache Ollama models
uses: actions/cache@v4
with:
path: ~/.ollama
key: ${{ runner.os }}-ollama-llama3.2
- name: Setup Ollama
uses: ai-action/setup-ollama@v2
- name: Pull Ollama model
run: ollama pull llama3.2:latest
- name: Install utilities dependencies
run: |
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/validate_java_quickstarts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@ jobs:
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
dapr --version
- name: Cache Ollama models
uses: actions/cache@v4
with:
path: ~/.ollama
key: ${{ runner.os }}-ollama-llama3.2
- name: Setup Ollama
uses: ai-action/setup-ollama@v2
- name: Pull Ollama model
run: ollama pull llama3.2:latest
- name: Install utilities dependencies
run: |
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/validate_javascript_quickstarts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ jobs:
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
dapr --version
- name: Cache Ollama models
uses: actions/cache@v4
with:
path: ~/.ollama
key: ${{ runner.os }}-ollama-llama3.2
- name: Setup Ollama
uses: ai-action/setup-ollama@v2
- name: Pull Ollama model
run: ollama pull llama3.2:latest
- name: Install utilities dependencies
run: |
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/validate_python_quickstarts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ jobs:
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
dapr --version
- name: Cache Ollama models
uses: actions/cache@v4
with:
path: ~/.ollama
key: ${{ runner.os }}-ollama-llama3.2
- name: Setup Ollama
uses: ai-action/setup-ollama@v2
- name: Pull Ollama model
run: ollama pull llama3.2:latest
- name: Install utilities dependencies
run: |
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
Expand Down
68 changes: 34 additions & 34 deletions actors/csharp/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,23 @@ dapr run --app-id actorservice --app-port 5001 --app-protocol http --dapr-http-p
Expected output:

```bash
== APP == info: Microsoft.Hosting.Lifetime[14]
== APP == Now listening on: http://localhost:5001
== APP == info: Microsoft.Hosting.Lifetime[0]
== APP == Application started. Press Ctrl+C to shut down.
== APP == info: Microsoft.Hosting.Lifetime[0]
== APP == Hosting environment: Production
== APP == info: Microsoft.Hosting.Lifetime[0]
== APP == info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
== APP == Request starting HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - application/json -
== APP == warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
== APP == Failed to determine the https port for redirect.
== APP == info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
== APP == Executing endpoint 'Dapr Actors Config'
== APP == info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
== APP == Executed endpoint 'Dapr Actors Config'
== APP == info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
== APP == Request finished HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - 200 - application/json 30.6175ms
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - application/json -
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'Dapr Actors Config'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'Dapr Actors Config'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - 200 - application/json 30.6175ms
```

### Step 4: Run the client app
Expand All @@ -93,23 +93,23 @@ dapr run --app-id actorclient -- dotnet run
Expected output:

```bash
== APP == Startup up...
== APP == Calling SetDataAsync on SmokeDetectorActor:1...
== APP == Got response: Success
== APP == Calling GetDataAsync on SmokeDetectorActor:1...
== APP == Device 1 state: Location: First Floor, Status: Ready
== APP == Calling SetDataAsync on SmokeDetectorActor:2...
== APP == Got response: Success
== APP == Calling GetDataAsync on SmokeDetectorActor:2...
== APP == Device 2 state: Location: Second Floor, Status: Ready
== APP == Registering the IDs of both Devices...
== APP == Registered devices: 1, 2
== APP == Detecting smoke on Device 1...
== APP == Device 1 state: Location: First Floor, Status: Alarm
== APP == Device 2 state: Location: Second Floor, Status: Alarm
== APP == Sleeping for 16 seconds before checking status again to see reminders fire and clear alarms
== APP == Device 1 state: Location: First Floor, Status: Ready
== APP == Device 2 state: Location: Second Floor, Status: Ready
Startup up...
Calling SetDataAsync on SmokeDetectorActor:1...
Got response: Success
Calling GetDataAsync on SmokeDetectorActor:1...
Device 1 state: Location: First Floor, Status: Ready
Calling SetDataAsync on SmokeDetectorActor:2...
Got response: Success
Calling GetDataAsync on SmokeDetectorActor:2...
Device 2 state: Location: Second Floor, Status: Ready
Registering the IDs of both Devices...
Registered devices: 1, 2
Detecting smoke on Device 1...
Device 1 state: Location: First Floor, Status: Alarm
Device 2 state: Location: Second Floor, Status: Alarm
Sleeping for 16 seconds before checking status again to see reminders fire and clear alarms
Device 1 state: Location: First Floor, Status: Ready
Device 2 state: Location: Second Floor, Status: Ready
```

### Cleanup
Expand Down
2 changes: 1 addition & 1 deletion actors/csharp/sdk/client/SmartDevice.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapr.Actors" Version="1.16.0" />
<PackageReference Include="Dapr.Actors" Version="1.17.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapr.Actors" Version="1.16.0" />
<PackageReference Include="Dapr.Actors" Version="1.17.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion actors/csharp/sdk/service/SmartDevice.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapr.Actors.AspNetCore" Version="1.16.0" />
<PackageReference Include="Dapr.Actors.AspNetCore" Version="1.17.0" />
</ItemGroup>

<ItemGroup>
Expand Down
30 changes: 17 additions & 13 deletions bindings/csharp/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,25 @@ This quickstart includes one service:

### Run and initialize PostgreSQL container

1. Open a new terminal, change directories to `../../../db`, and run the container with [Docker Compose](https://docs.docker.com/compose/):
1. Open a new terminal, change directories to `../../db`, and run the container with [Docker Compose](https://docs.docker.com/compose/):

<!-- STEP
name: Run and initialize PostgreSQL container
expected_return_code:
background: true
sleep: 60
timeout_seconds: 120
-->

```bash
cd ../../db
docker compose up
docker compose up -d
```

<!-- END_STEP -->

### Run C# service with Dapr

2. Open a new terminal window, change directories to `./batch` in the quickstart directory and run:
2. Open a new terminal window, change directories to `./batch` in the quickstart directory and install dependencies:

<!-- STEP
name: Install C# dependencies
Expand All @@ -41,27 +40,32 @@ name: Install C# dependencies
cd ./batch
dotnet restore
dotnet build
cd ..
```

<!-- END_STEP -->
3. Run the C# service app with Dapr:

3. Run the C# service app with Dapr:

<!-- STEP
name: Run batch-http service
working_dir: ./batch
expected_stdout_lines:
- '== APP == insert into orders (orderid, customer, price) values (1, ''John Smith'', 100.32)'
- '== APP == insert into orders (orderid, customer, price) values (2, ''Jane Bond'', 15.4)'
- '== APP == insert into orders (orderid, customer, price) values (3, ''Tony James'', 35.56)'
- '== APP == Finished processing batch'
- 'insert into orders (orderid, customer, price) values (1, ''John Smith'', 100.32)'
- 'insert into orders (orderid, customer, price) values (2, ''Jane Bond'', 15.4)'
- 'insert into orders (orderid, customer, price) values (3, ''Tony James'', 35.56)'
- 'Finished processing batch'
expected_stderr_lines:
output_match_mode: substring
sleep: 11
timeout_seconds: 30
timeout_seconds: 60
-->

```bash
dapr run --app-id batch-http --app-port 7003 --resources-path ../../../components -- dotnet run
dapr run -f .
```

<!-- END_STEP -->

The `-f` flag runs the application using the Multi-App Run configuration defined in `dapr.yaml`, automatically starting both the application and its Dapr sidecar.

The cron input binding triggers the service every 10 seconds, and the service writes records to PostgreSQL using the output binding.
7 changes: 7 additions & 0 deletions bindings/csharp/http/dapr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 1
apps:
- appID: batch-http
appDirPath: ./batch
appPort: 7003
command: ["dotnet", "run"]
resourcesPath: ../../../components
27 changes: 14 additions & 13 deletions bindings/csharp/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,25 @@ This quickstart includes one service:

### Run and initialize PostgreSQL container

1. Open a new terminal, change directories to `../../../db`, and run the container with [Docker Compose](https://docs.docker.com/compose/):
1. Open a new terminal, change directories to `../../db`, and run the container with [Docker Compose](https://docs.docker.com/compose/):

<!-- STEP
name: Run and initialize PostgreSQL container
expected_return_code:
background: true
sleep: 60
timeout_seconds: 120
-->

```bash
cd ../../db
docker compose up
docker compose up -d
```

<!-- END_STEP -->

### Run C# service with Dapr

2. Open a new terminal window, change directories to `./batch` in the quickstart directory and run:
2. Open a new terminal window, change directories to `./batch` in the quickstart directory and install dependencies:

<!-- STEP
name: Install C# dependencies
Expand All @@ -40,27 +39,29 @@ name: Install C# dependencies
```bash
cd ./batch
dotnet restore
dotnet build
cd ..
```

<!-- END_STEP -->
3. Run the C# service app with Dapr:

3. Run the C# service app with Dapr:

<!-- STEP
name: Run batch-sdk service
working_dir: ./batch
expected_stdout_lines:
- '== APP == insert into orders (orderid, customer, price) values (1, ''John Smith'', 100.32)'
- '== APP == insert into orders (orderid, customer, price) values (2, ''Jane Bond'', 15.4)'
- '== APP == insert into orders (orderid, customer, price) values (3, ''Tony James'', 35.56)'
- '== APP == Finished processing batch'
- 'insert into orders (orderid, customer, price) values (1, ''John Smith'', 100.32)'
- 'insert into orders (orderid, customer, price) values (2, ''Jane Bond'', 15.4)'
- 'insert into orders (orderid, customer, price) values (3, ''Tony James'', 35.56)'
- 'Finished processing batch'
expected_stderr_lines:
output_match_mode: substring
sleep: 11
timeout_seconds: 30
timeout_seconds: 60
-->

```bash
dapr run --app-id batch-sdk --app-port 7002 --resources-path ../../../components -- dotnet run
dapr run -f .
```

<!-- END_STEP -->
2 changes: 1 addition & 1 deletion bindings/csharp/sdk/batch/batch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Dapr.AspNetCore" Version="1.16.0" />
<PackageReference Include="Dapr.AspNetCore" Version="1.17.0" />
</ItemGroup>

</Project>
7 changes: 7 additions & 0 deletions bindings/csharp/sdk/dapr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 1
apps:
- appID: batch-sdk
appDirPath: ./batch
appPort: 7002
command: ["dotnet", "run"]
resourcesPath: ../../../components
Loading
Loading