ServerlessWorkflow.Sdk.Builders 1.0.2

Prefix Reserved
dotnet add package ServerlessWorkflow.Sdk.Builders --version 1.0.2
                    
NuGet\Install-Package ServerlessWorkflow.Sdk.Builders -Version 1.0.2
                    
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.2" />
                    
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.2" />
                    
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.2
                    
#r "nuget: ServerlessWorkflow.Sdk.Builders, 1.0.2"
                    
#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.
#:package ServerlessWorkflow.Sdk.Builders@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ServerlessWorkflow.Sdk.Builders&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=ServerlessWorkflow.Sdk.Builders&version=1.0.2
                    
Install as a Cake Tool

ServerlessWorkflow.Sdk.Builders

Fluent builders for constructing Serverless Workflow DSL definitions programmatically in .NET.

This package provides a strongly-typed, chainable API for authoring WorkflowDefinition instances without having to hand-write JSON or YAML.

Installation

dotnet add package ServerlessWorkflow.Sdk.Builders

Usage

using ServerlessWorkflow.Sdk.Builders;

var definition = new WorkflowDefinitionBuilder()
    .UseDsl("1.0.0")
    .WithNamespace("samples")
    .WithName("fake-workflow")
    .WithVersion("0.1.0")
    .WithTitle("Fake Workflow")
    .WithSummary("A sample workflow that calls an HTTP endpoint.")
    .Do("fetch-data", task => task
        .Call("http")
        .With("method", "get")
        .With("uri", "https://fake-api.com"))
    .Build();

Common builder methods

Method Purpose
UseDsl(version) Sets the DSL version.
WithNamespace(ns) RFC1123 DNS label namespace.
WithName(name) / WithVersion(version) Identity of the workflow.
WithTitle / WithSummary / WithTag Metadata.
WithInput / WithOutput Input/output schemas.
UseAuthentication / UseExtension / UseFunction / UseRetry / UseSecret Reusable components.
Do(name, task => ...) Adds a task to the workflow.
Build() Returns a WorkflowDefinition.

Dedicated builders are available for every DSL construct — call, do, for, fork, listen, raise, run, set, switch, try, wait, retry policies, authentication schemes, and more.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.2 86 4/15/2026
1.0.1 1,070 3/14/2025
1.0.0 424 1/30/2025
1.0.0-alpha6.3 243 1/16/2025
1.0.0-alpha6.2 128 1/10/2025
1.0.0-alpha6.1 121 1/10/2025
1.0.0-alpha6 179 1/10/2025
1.0.0-alpha5.4 128 12/19/2024
1.0.0-alpha5.3 116 12/19/2024
1.0.0-alpha5.2 254 11/20/2024
1.0.0-alpha5.1 458 10/25/2024
1.0.0-alpha5 246 10/22/2024
1.0.0-alpha4.1 133 10/22/2024
1.0.0-alpha4 218 10/18/2024
1.0.0-alpha3.1 162 10/18/2024
1.0.0-alpha3 322 10/11/2024
1.0.0-alpha2.16 212 10/1/2024
1.0.0-alpha2.15 403 9/8/2024
1.0.0-alpha2.14 144 9/6/2024
1.0.0-alpha2.13 153 9/6/2024
Loading failed