ServerlessWorkflow.Sdk.Builders 1.0.0-alpha6

Prefix Reserved
This is a prerelease version of ServerlessWorkflow.Sdk.Builders.
There is a newer version of this package available.
See the version list below for details.
dotnet add package ServerlessWorkflow.Sdk.Builders --version 1.0.0-alpha6
                    
NuGet\Install-Package ServerlessWorkflow.Sdk.Builders -Version 1.0.0-alpha6
                    
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.Builders" Version="1.0.0-alpha6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ServerlessWorkflow.Sdk.Builders" Version="1.0.0-alpha6" />
                    
Directory.Packages.props
<PackageReference Include="ServerlessWorkflow.Sdk.Builders" />
                    
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.Builders --version 1.0.0-alpha6
                    
#r "nuget: ServerlessWorkflow.Sdk.Builders, 1.0.0-alpha6"
                    
#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.Builders&version=1.0.0-alpha6&prerelease
                    
Install ServerlessWorkflow.Sdk.Builders as a Cake Addin
#tool nuget:?package=ServerlessWorkflow.Sdk.Builders&version=1.0.0-alpha6&prerelease
                    
Install ServerlessWorkflow.Sdk.Builders 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 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

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on ServerlessWorkflow.Sdk.Builders:

Repository Stars
serverlessworkflow/synapse
Serverless Workflow Management System (WFMS)
Version Downloads Last updated
1.0.1 103 3/14/2025
1.0.0 201 1/30/2025
1.0.0-alpha6.3 163 1/16/2025
1.0.0-alpha6.2 75 1/10/2025
1.0.0-alpha6.1 59 1/10/2025
1.0.0-alpha6 81 1/10/2025
1.0.0-alpha5.4 64 12/19/2024
1.0.0-alpha5.3 63 12/19/2024
1.0.0-alpha5.2 167 11/20/2024
1.0.0-alpha5.1 369 10/25/2024
1.0.0-alpha5 147 10/22/2024
1.0.0-alpha4.1 71 10/22/2024
1.0.0-alpha4 141 10/18/2024
1.0.0-alpha3.1 82 10/18/2024
1.0.0-alpha3 248 10/11/2024
1.0.0-alpha2.16 152 10/1/2024
1.0.0-alpha2.15 348 9/8/2024
1.0.0-alpha2.14 83 9/6/2024
1.0.0-alpha2.13 66 9/6/2024
1.0.0-alpha2.12 151 8/30/2024
1.0.0-alpha2.11 133 8/21/2024
1.0.0-alpha2.10 82 8/21/2024
1.0.0-alpha2.9 85 8/21/2024
1.0.0-alpha2.8 126 8/9/2024
1.0.0-alpha2.7 80 8/8/2024
1.0.0-alpha2.6 75 6/28/2024
1.0.0-alpha2.5 114 6/26/2024
1.0.0-alpha2.4 64 6/26/2024
1.0.0-alpha2.3 66 6/26/2024
1.0.0-alpha2.2 63 6/25/2024
1.0.0-alpha2.1 91 6/21/2024
1.0.0-alpha2 100 6/19/2024
1.0.0-alpha1 191 5/22/2024