ServerlessWorkflow.Sdk
1.0.0-alpha6.1
Prefix Reserved
See the version list below for details.
dotnet add package ServerlessWorkflow.Sdk --version 1.0.0-alpha6.1
NuGet\Install-Package ServerlessWorkflow.Sdk -Version 1.0.0-alpha6.1
<PackageReference Include="ServerlessWorkflow.Sdk" Version="1.0.0-alpha6.1" />
paket add ServerlessWorkflow.Sdk --version 1.0.0-alpha6.1
#r "nuget: ServerlessWorkflow.Sdk, 1.0.0-alpha6.1"
// Install ServerlessWorkflow.Sdk as a Cake Addin #addin nuget:?package=ServerlessWorkflow.Sdk&version=1.0.0-alpha6.1&prerelease // Install ServerlessWorkflow.Sdk as a Cake Tool #tool nuget:?package=ServerlessWorkflow.Sdk&version=1.0.0-alpha6.1&prerelease
Serverless Workflow .NET SDK
The official .NET SDK for the Serverless Workflow DSL.
The SDK is composed of three Nuget packages:
- Core, which contains the models of the Serverless Workflow DSL
- Builders, which contains service used to build workflow definitions programmatically
- IO, which contains the services used to read and write workflow definitions
Installation
Core:
dotnet add package ServerlessWorkflow.Sdk
Builders:
dotnet add package ServerlessWorkflow.Sdk.Builders
IO:
dotnet add package ServerlessWorkflow.Sdk.IO
Example usage
Building a workflow definition programmatically:
var definition = new WorkflowDefinitionBuilder()
.WithName("fake-workflow")
.WithVersion("0.1.0:fake")
.Do("todo-1", task => task
.Call("http")
.With("method", "get")
.With("uri", "https://fake-api.com"))
.Build();
Reading and writing a workflow definition:
using var inputStream = File.OpenRead("workflow.yaml");
var reader = WorkflowDefinitionReader.Create();
var workflow = await reader.ReadAsync(inputStream);
using var outputStream = File.Create("workflow.yaml");
var writer = WorkflowDefinitionWriter.Create();
await writer.WriteAsync(workflow, stream, WorkflowDefinitionFormat.Yaml);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- FluentValidation.DependencyInjectionExtensions (>= 11.10.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.1)
- Microsoft.Extensions.Http (>= 8.0.1)
- Neuroglia.Serialization.YamlDotNet (>= 4.15.7)
- Semver (>= 2.3.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on ServerlessWorkflow.Sdk:
Package | Downloads |
---|---|
Synapse.Integration
This package contains everything you need to integrate Synapse WFMS and its APIs |
|
ServerlessWorkflow.Sdk.IO
Contains services used to read and write ServerlessWorkflow workflow definitions |
|
ServerlessWorkflow.Sdk.Builders
Contains services used to build ServerlessWorkflow workflow definitions programatically |
|
Synapse.Sdk
Contains the definitions for all resources used by Synapse |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on ServerlessWorkflow.Sdk:
Repository | Stars |
---|---|
serverlessworkflow/synapse
Serverless Workflow Management System (WFMS)
|
Version | Downloads | Last updated | |
---|---|---|---|
1.0.0-alpha6.2 | 39 | 1/10/2025 | |
1.0.0-alpha6.1 | 31 | 1/10/2025 | |
1.0.0-alpha6 | 27 | 1/10/2025 | |
1.0.0-alpha5.4 | 51 | 12/19/2024 | |
1.0.0-alpha5.3 | 51 | 12/19/2024 | |
1.0.0-alpha5.2 | 193 | 11/20/2024 | |
1.0.0-alpha5.1 | 532 | 10/25/2024 | |
1.0.0-alpha5 | 169 | 10/22/2024 | |
1.0.0-alpha4.1 | 68 | 10/22/2024 | |
1.0.0-alpha4 | 132 | 10/18/2024 | |
1.0.0-alpha3.1 | 77 | 10/18/2024 | |
1.0.0-alpha3 | 312 | 10/11/2024 | |
1.0.0-alpha2.16 | 261 | 10/1/2024 | |
1.0.0-alpha2.15 | 479 | 9/8/2024 | |
1.0.0-alpha2.14 | 76 | 9/6/2024 | |
1.0.0-alpha2.13 | 65 | 9/6/2024 | |
1.0.0-alpha2.12 | 177 | 8/30/2024 | |
1.0.0-alpha2.11 | 134 | 8/21/2024 | |
1.0.0-alpha2.10 | 79 | 8/21/2024 | |
1.0.0-alpha2.9 | 81 | 8/21/2024 | |
1.0.0-alpha2.8 | 129 | 8/9/2024 | |
1.0.0-alpha2.7 | 73 | 8/8/2024 | |
1.0.0-alpha2.6 | 76 | 6/27/2024 | |
1.0.0-alpha2.5 | 120 | 6/26/2024 | |
1.0.0-alpha2.4 | 59 | 6/26/2024 | |
1.0.0-alpha2.3 | 56 | 6/26/2024 | |
1.0.0-alpha2.2 | 62 | 6/25/2024 | |
1.0.0-alpha2.1 | 81 | 6/21/2024 | |
1.0.0-alpha2 | 104 | 6/19/2024 | |
1.0.0-alpha1 | 222 | 5/22/2024 | |
0.8.8 | 283 | 1/4/2024 | |
0.8.7 | 799 | 6/29/2023 | |
0.8.6 | 384 | 11/30/2022 | |
0.8.5 | 357 | 11/18/2022 | |
0.8.4 | 14,492 | 11/4/2022 | |
0.8.3 | 7,675 | 10/26/2022 | |
0.8.2 | 420 | 9/30/2022 | |
0.8.1.16 | 4,453 | 9/28/2022 | |
0.8.1.15 | 1,628 | 9/22/2022 | |
0.8.1.14 | 3,724 | 9/9/2022 | |
0.8.1.13 | 426 | 9/7/2022 | |
0.8.1.12 | 413 | 9/7/2022 | |
0.8.1.11 | 6,079 | 8/30/2022 | |
0.8.1.10 | 2,702 | 8/23/2022 | |
0.8.1.9 | 451 | 8/23/2022 | |
0.8.1.8 | 3,866 | 8/11/2022 | |
0.8.1.7 | 1,596 | 8/9/2022 | |
0.8.1.6 | 1,751 | 5/20/2022 | |
0.8.1.5 | 449 | 5/20/2022 | |
0.8.1.4 | 487 | 5/18/2022 | |
0.8.1.3 | 449 | 5/17/2022 | |
0.8.1.2 | 470 | 5/17/2022 | |
0.8.1.1 | 425 | 5/17/2022 | |
0.8.1 | 437 | 5/16/2022 | |
0.8.0.22 | 438 | 5/16/2022 | |
0.8.0.21 | 533 | 5/10/2022 | |
0.8.0.20 | 668 | 4/14/2022 | |
0.8.0.19 | 602 | 4/14/2022 | |
0.8.0.18 | 452 | 4/14/2022 | |
0.8.0.17 | 468 | 4/13/2022 | |
0.8.0.16 | 455 | 4/13/2022 | |
0.8.0.15 | 595 | 3/7/2022 | |
0.8.0.14 | 444 | 3/7/2022 | |
0.8.0.13 | 481 | 3/3/2022 | |
0.8.0.12 | 449 | 3/2/2022 | |
0.8.0.11 | 467 | 2/25/2022 | |
0.8.0.10 | 470 | 2/24/2022 | |
0.8.0.9 | 480 | 2/24/2022 | |
0.8.0.8 | 447 | 2/23/2022 | |
0.8.0.7 | 435 | 2/23/2022 | |
0.8.0.6 | 450 | 2/22/2022 | |
0.8.0.5 | 430 | 2/21/2022 | |
0.8.0.4 | 441 | 2/21/2022 | |
0.8.0.3 | 461 | 2/18/2022 | |
0.8.0.2 | 454 | 2/15/2022 | |
0.8.0.1 | 436 | 2/14/2022 | |
0.8.0 | 470 | 2/14/2022 | |
0.7.4.4 | 403 | 7/2/2021 | |
0.7.4.3 | 380 | 7/2/2021 | |
0.7.4.2 | 330 | 7/2/2021 | |
0.7.4.1 | 312 | 7/1/2021 | |
0.7.4 | 357 | 7/1/2021 | |
0.7.3 | 327 | 6/16/2021 | |
0.7.2 | 359 | 6/8/2021 | |
0.7.1 | 378 | 6/3/2021 | |
0.7.0 | 323 | 6/2/2021 | |
0.6.3 | 380 | 5/27/2021 | |
0.6.2 | 352 | 5/27/2021 | |
0.6.1 | 812 | 4/19/2021 | |
0.6.0 | 391 | 4/3/2021 |