ServerlessWorkflow.Sdk 1.0.1

Prefix Reserved
dotnet add package ServerlessWorkflow.Sdk --version 1.0.1
                    
NuGet\Install-Package ServerlessWorkflow.Sdk -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ServerlessWorkflow.Sdk" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ServerlessWorkflow.Sdk" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="ServerlessWorkflow.Sdk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ServerlessWorkflow.Sdk --version 1.0.1
                    
#r "nuget: ServerlessWorkflow.Sdk, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=ServerlessWorkflow.Sdk&version=1.0.1
                    
Install ServerlessWorkflow.Sdk as a Cake Addin
#tool nuget:?package=ServerlessWorkflow.Sdk&version=1.0.1
                    
Install ServerlessWorkflow.Sdk as a Cake Tool

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 Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1 122 a month ago
1.0.0 397 3 months ago
1.0.0-alpha6.3 260 3 months ago
1.0.0-alpha6.2 76 4 months ago
1.0.0-alpha6.1 56 4 months ago
1.0.0-alpha6 75 4 months ago
1.0.0-alpha5.4 63 4 months ago
1.0.0-alpha5.3 64 4 months ago
1.0.0-alpha5.2 211 5 months ago
1.0.0-alpha5.1 661 6 months ago
1.0.0-alpha5 274 6 months ago
1.0.0-alpha4.1 73 6 months ago
1.0.0-alpha4 159 6 months ago
1.0.0-alpha3.1 85 6 months ago
1.0.0-alpha3 413 7 months ago
1.0.0-alpha2.16 459 7 months ago
1.0.0-alpha2.15 555 8 months ago
1.0.0-alpha2.14 81 8 months ago
1.0.0-alpha2.13 68 8 months ago
1.0.0-alpha2.12 181 8 months ago
1.0.0-alpha2.11 138 8 months ago
1.0.0-alpha2.10 81 8 months ago
1.0.0-alpha2.9 83 8 months ago
1.0.0-alpha2.8 133 9 months ago
1.0.0-alpha2.7 76 9 months ago
1.0.0-alpha2.6 81 10 months ago
1.0.0-alpha2.5 123 10 months ago
1.0.0-alpha2.4 62 10 months ago
1.0.0-alpha2.3 61 10 months ago
1.0.0-alpha2.2 67 6/25/2024
1.0.0-alpha2.1 84 6/21/2024
1.0.0-alpha2 122 6/19/2024
1.0.0-alpha1 239 5/22/2024
0.8.8 302 1/4/2024 0.8.8 is deprecated because it is no longer maintained.
0.8.7 801 6/29/2023
0.8.6 396 11/30/2022
0.8.5 367 11/18/2022
0.8.4 14,546 11/4/2022
0.8.3 7,695 10/26/2022
0.8.2 433 9/30/2022
0.8.1.16 4,482 9/28/2022
0.8.1.15 1,641 9/22/2022
0.8.1.14 3,737 9/9/2022
0.8.1.13 438 9/7/2022
0.8.1.12 431 9/7/2022
0.8.1.11 6,106 8/30/2022
0.8.1.10 2,714 8/23/2022
0.8.1.9 462 8/23/2022
0.8.1.8 3,888 8/11/2022
0.8.1.7 1,608 8/9/2022
0.8.1.6 1,765 5/20/2022
0.8.1.5 462 5/20/2022
0.8.1.4 501 5/18/2022
0.8.1.3 462 5/17/2022
0.8.1.2 484 5/17/2022
0.8.1.1 438 5/17/2022
0.8.1 450 5/16/2022
0.8.0.22 451 5/16/2022
0.8.0.21 546 5/10/2022
0.8.0.20 683 4/14/2022
0.8.0.19 616 4/14/2022
0.8.0.18 467 4/14/2022
0.8.0.17 482 4/13/2022
0.8.0.16 470 4/13/2022
0.8.0.15 610 3/7/2022
0.8.0.14 460 3/7/2022
0.8.0.13 496 3/3/2022
0.8.0.12 463 3/2/2022
0.8.0.11 482 2/25/2022
0.8.0.10 486 2/24/2022
0.8.0.9 498 2/24/2022
0.8.0.8 462 2/23/2022
0.8.0.7 450 2/23/2022
0.8.0.6 465 2/22/2022
0.8.0.5 446 2/21/2022
0.8.0.4 456 2/21/2022
0.8.0.3 476 2/18/2022
0.8.0.2 469 2/15/2022
0.8.0.1 452 2/14/2022
0.8.0 487 2/14/2022
0.7.4.4 422 7/2/2021
0.7.4.3 398 7/2/2021
0.7.4.2 349 7/2/2021
0.7.4.1 332 7/1/2021
0.7.4 376 7/1/2021
0.7.3 346 6/16/2021
0.7.2 377 6/8/2021
0.7.1 397 6/3/2021
0.7.0 341 6/2/2021
0.6.3 399 5/27/2021
0.6.2 370 5/27/2021
0.6.1 834 4/19/2021
0.6.0 414 4/3/2021