Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating valid .NET SDK targets for Quickstart docs #4447

Merged
merged 40 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
32b3b27
Updated all Quickstart docs to reflect .NET 9 as a valid target + add…
WhitWaldo Dec 2, 2024
3cdcebe
Fixed recurring typo on last commit
WhitWaldo Dec 3, 2024
52a8124
Making wording more concise, per suggestions.
WhitWaldo Dec 3, 2024
128b3be
Minor dependency tweak
WhitWaldo Dec 3, 2024
80590e0
Merge branch 'v1.15' into net9-sdk-quickstart-docs
WhitWaldo Dec 3, 2024
815d3bf
Bump nanoid from 3.3.2 to 3.3.8 in /daprdocs
dependabot[bot] Dec 10, 2024
19c4d95
Merge branch 'v1.14' into dependabot/npm_and_yarn/daprdocs/nanoid-3.3.8
hhunter-ms Dec 16, 2024
d3cc1ac
Merge branch 'v1.15' into net9-sdk-quickstart-docs
WhitWaldo Dec 16, 2024
649c1f8
updates per elena pr for 1.15 (#4471)
hhunter-ms Dec 17, 2024
b489c7f
Merge branch 'v1.14' into dependabot/npm_and_yarn/daprdocs/nanoid-3.3.8
hhunter-ms Dec 18, 2024
5660a64
Merge pull request #4461 from dapr/dependabot/npm_and_yarn/daprdocs/n…
hhunter-ms Dec 18, 2024
72f7591
Merge branch 'v1.15' into net9-sdk-quickstart-docs
hhunter-ms Dec 18, 2024
4d02b2e
feat(bindings-zeebe-command): Add support for passing variables to th…
scott-brady Dec 25, 2024
696ada4
Merge branch 'v1.15' into net9-sdk-quickstart-docs
WhitWaldo Dec 25, 2024
177a6ca
Update workflow-features-concepts.md
yossisp Dec 30, 2024
f711af9
Update setup-postgresql-v2.md
yossisp Dec 31, 2024
caebe93
Update setup-postgresql-v1.md
yossisp Dec 31, 2024
41ae3e1
Merge pull request #4478 from yossisp/patch-1
hhunter-ms Jan 6, 2025
e4f9a6f
Merge branch 'v1.14' into patch-2
hhunter-ms Jan 6, 2025
aa7110c
Merge branch 'v1.14' into patch-3
hhunter-ms Jan 6, 2025
1313390
Merge pull request #4480 from yossisp/patch-3
hhunter-ms Jan 6, 2025
e20778f
Merge branch 'v1.14' into patch-2
hhunter-ms Jan 6, 2025
7ed0652
Merge pull request #4479 from yossisp/patch-2
hhunter-ms Jan 6, 2025
03be3d5
Merge branch 'v1.14' into feature/3639-zeebe-command-throw-error-vari…
hhunter-ms Jan 6, 2025
46f78a7
Merge pull request #4477 from scott-brady/feature/3639-zeebe-command-…
hhunter-ms Jan 6, 2025
045e565
Merge branch 'v1.15' into net9-sdk-quickstart-docs
hhunter-ms Jan 6, 2025
197c053
fix rust-sdk menu link
Gallardot Jan 10, 2025
efcd9fb
Merge pull request #4488 from Gallardot/Gallardot-patch-1
hhunter-ms Jan 10, 2025
dea64cd
Merge branch 'v1.15' into net9-sdk-quickstart-docs
WhitWaldo Jan 12, 2025
da9ff29
Merge branch 'dapr:v1.14' into net9-sdk-quickstart-docs
WhitWaldo Jan 12, 2025
e001b95
Merge branch 'v1.15' into net9-sdk-quickstart-docs
WhitWaldo Jan 19, 2025
9eed51c
Fixed list numbering
WhitWaldo Jan 27, 2025
396dcd1
Fixed .NET SDK links
WhitWaldo Jan 27, 2025
c6a8636
Removed alert shortcode from within codetab block
WhitWaldo Jan 27, 2025
343d733
Updated all .NET SDK version links
WhitWaldo Jan 27, 2025
4d4a0e9
Updated all .NET package version notes to remove callout in favor of …
WhitWaldo Jan 27, 2025
90a13f2
Merge branch 'v1.15' into net9-sdk-quickstart-docs
WhitWaldo Jan 27, 2025
bd64d24
Update daprdocs/content/en/getting-started/quickstarts/actors-quickst…
WhitWaldo Jan 28, 2025
e300c74
Apply suggestions from code review
WhitWaldo Jan 28, 2025
c885e34
Merge branch 'v1.15' into net9-sdk-quickstart-docs
msfussell Jan 29, 2025
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
2 changes: 1 addition & 1 deletion daprdocs/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ id = "G-60C6Q1ETC1"
lang = "en"
[[module.mounts]]
source = "../sdkdocs/rust/daprdocs/content/en/rust-sdk-contributing"
target = "content/contributing/sdks-contrib"
target = "content/contributing/sdk-contrib/"
lang = "en"

[[module.mounts]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ string randomString = GetRandomString();
// DON'T DO THIS!
Instant currentTime = Instant.now();
UUID newIdentifier = UUID.randomUUID();
string randomString = GetRandomString();
String randomString = getRandomString();
```

{{% /codetab %}}
Expand Down Expand Up @@ -242,7 +242,7 @@ string randomString = await context.CallActivityAsync<string>("GetRandomString")
```java
// Do this!!
Instant currentTime = context.getCurrentInstant();
Guid newIdentifier = context.NewGuid();
Guid newIdentifier = context.newGuid();
String randomString = context.callActivity(GetRandomString.class.getName(), String.class).await();
```

Expand Down Expand Up @@ -338,7 +338,7 @@ Do this:

```csharp
// Do this!!
string configuation = workflowInput.Configuration; // imaginary workflow input argument
string configuration = workflowInput.Configuration; // imaginary workflow input argument
string data = await context.CallActivityAsync<string>("MakeHttpCall", "https://example.com/api/data");
```

Expand All @@ -348,7 +348,7 @@ string data = await context.CallActivityAsync<string>("MakeHttpCall", "https://e

```java
// Do this!!
String configuation = ctx.getInput(InputType.class).getConfiguration(); // imaginary workflow input argument
String configuration = ctx.getInput(InputType.class).getConfiguration(); // imaginary workflow input argument
String data = ctx.callActivity(MakeHttpCall.class, "https://example.com/api/data", String.class).await();
```

Expand All @@ -358,7 +358,7 @@ String data = ctx.callActivity(MakeHttpCall.class, "https://example.com/api/data

```javascript
// Do this!!
const configuation = workflowInput.getConfiguration(); // imaginary workflow input argument
const configuration = workflowInput.getConfiguration(); // imaginary workflow input argument
const data = yield ctx.callActivity(makeHttpCall, "https://example.com/api/data");
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ As a quick overview of the .NET actors quickstart:
1. Using a `SmartDevice.Service` microservice, you host:
- Two `SmokeDetectorActor` smoke alarm objects
- A `ControllerActor` object that commands and controls the smart devices
1. Using a `SmartDevice.Client` console app, the client app interacts with each actor, or the controller, to perform actions in aggregate.
1. The `SmartDevice.Interfaces` contains the shared interfaces and data types used by both the service and client apps.
2. Using a `SmartDevice.Client` console app, the client app interacts with each actor, or the controller, to perform actions in aggregate.
3. The `SmartDevice.Interfaces` contains the shared interfaces and data types used by both the service and client apps.

<img src="/images/actors-quickstart/actors-quickstart.png" width=800 style="padding-bottom:15px;">

Expand All @@ -30,10 +30,13 @@ As a quick overview of the .NET actors quickstart:
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 6 is the minimally supported version of .NET for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 1: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,13 @@ In the YAML file:
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 6 is the minimally supported version of .NET for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 1: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,13 @@ setTimeout(() => {
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 6 is the minimally supported version of .NET for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 1: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,13 @@ console.log("Published data: " + JSON.stringify(order));
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 6 is the minimally supported version of .NET for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 2: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,13 @@ Order-processor output:
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 6 is the minimally supported version of .NET for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 1: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,13 @@ console.log("Order passed: " + res.config.data);
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 7 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 6 is the minimally supported version of .NET for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 2: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,13 @@ In the YAML file:
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 6 is the minimally supported version of .NET for the Dapr .NET SDK packages in this release. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 1: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,13 @@ The `order-processor` console app starts and manages the lifecycle of an order p
For this example, you will need:

- [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started).
- [.NET SDK or .NET 6 SDK installed](https://dotnet.microsoft.com/download).
<!-- IGNORE_LINKS -->
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
<!-- END_IGNORE -->
- [.NET 7](https://dotnet.microsoft.com/en-us/download/dotnet/7.0), [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or [.NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) installed

**NOTE:** .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15. Only .NET 8 and .NET 9
will be supported in Dapr v1.16 and later releases.

### Step 2: Set up the environment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,12 @@ To perform a `throw-error` operation, invoke the Zeebe command binding with a `P
"data": {
"jobKey": 2251799813686172,
"errorCode": "product-fetch-error",
"errorMessage": "The product could not be fetched"
"errorMessage": "The product could not be fetched",
"variables": {
"productId": "some-product-id",
"productName": "some-product-name",
"productKey": "some-product-key"
}
},
"operation": "throw-error"
}
Expand All @@ -686,6 +691,11 @@ The data parameters are:
- `jobKey` - the unique job identifier, as obtained when activating the job
- `errorCode` - the error code that will be matched with an error catch event
- `errorMessage` - (optional) an error message that provides additional context
- `variables` - (optional) JSON document that will instantiate the variables at the local scope of the
job's associated task; it must be a JSON object, as variables will be mapped in a
key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and
"b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a
valid argument, as the root of the JSON document is an array and not an object.

##### Response

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
# Controls the default mode for executing queries. (optional)
#- name: queryExecMode
# value: ""
# Uncomment this if you wish to use PostgreSQL as a state store for actors (optional)
# Uncomment this if you wish to use PostgreSQL as a state store for actors or workflows (optional)
#- name: actorStateStore
# value: "true"
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
# Controls the default mode for executing queries. (optional)
#- name: queryExecMode
# value: ""
# Uncomment this if you wish to use PostgreSQL as a state store for actors (optional)
# Uncomment this if you wish to use PostgreSQL as a state store for actors or workflows (optional)
#- name: actorStateStore
# value: "true"
```
Expand Down
12 changes: 9 additions & 3 deletions daprdocs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading