ServerlessWorkflow.Sdk.Runtime.Abstractions 1.0.2

Prefix Reserved
dotnet add package ServerlessWorkflow.Sdk.Runtime.Abstractions --version 1.0.2
                    
NuGet\Install-Package ServerlessWorkflow.Sdk.Runtime.Abstractions -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.Runtime.Abstractions" 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.Runtime.Abstractions" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="ServerlessWorkflow.Sdk.Runtime.Abstractions" />
                    
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.Runtime.Abstractions --version 1.0.2
                    
#r "nuget: ServerlessWorkflow.Sdk.Runtime.Abstractions, 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.Runtime.Abstractions@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.Runtime.Abstractions&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=ServerlessWorkflow.Sdk.Runtime.Abstractions&version=1.0.2
                    
Install 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 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 (3)

Showing the top 3 NuGet packages that depend on ServerlessWorkflow.Sdk.Runtime.Abstractions:

Package Downloads
ServerlessWorkflow.Sdk.Runtime

Contains services used to execute ServerlessWorkflow workflow definitions

ServerlessWorkflow.Sdk.Runtime.Docker

Contains the services used to execute ServerlessWorkflow workflow definitions in a Docker environment

ServerlessWorkflow.Sdk.Runtime.Kubernetes

Contains the services used to execute ServerlessWorkflow workflow definitions in a Kubernetes environment

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 113 4/15/2026