![]() |
VOOZH | about |
dotnet add package ServerlessWorkflow.Sdk.Runtime --version 1.0.2
NuGet\Install-Package ServerlessWorkflow.Sdk.Runtime -Version 1.0.2
<PackageReference Include="ServerlessWorkflow.Sdk.Runtime" Version="1.0.2" />
<PackageVersion Include="ServerlessWorkflow.Sdk.Runtime" Version="1.0.2" />Directory.Packages.props
<PackageReference Include="ServerlessWorkflow.Sdk.Runtime" />Project file
paket add ServerlessWorkflow.Sdk.Runtime --version 1.0.2
#r "nuget: ServerlessWorkflow.Sdk.Runtime, 1.0.2"
#:package ServerlessWorkflow.Sdk.Runtime@1.0.2
#addin nuget:?package=ServerlessWorkflow.Sdk.Runtime&version=1.0.2Install as a Cake Addin
#tool nuget:?package=ServerlessWorkflow.Sdk.Runtime&version=1.0.2Install as a Cake Tool
A .NET runtime for executing Serverless Workflow DSL definitions.
This package ships the services required to load, schedule, and execute workflow definitions, including task executors, expression evaluation (JQ and JavaScript via Jint), authentication, secret management, schema validation (JSON Schema, Avro, XML), and CloudEvents integration.
dotnet add package ServerlessWorkflow.Sdk.Runtime
Register the runtime with Microsoft.Extensions.DependencyInjection:
using ServerlessWorkflow.Sdk.Runtime;
var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddServerlessWorkflowRuntime(builder.Configuration);
Then resolve and use IWorkflowRuntime to run a workflow:
var runtime = host.Services.GetRequiredService<IWorkflowRuntime>();
var process = await runtime.RunAsync(definition, input, executionOptions: null, cancellationToken);
await process.WaitAsync(cancellationToken);
You can also run a workflow by reference:
var process = await runtime.RunAsync(
@namespace: "samples",
name: "fake-workflow",
version: "0.1.0",
input: input,
executionOptions: null,
cancellationToken);
| Service | Role |
|---|---|
IWorkflowRuntime |
Entry point for running workflows. |
IWorkflowDefinitionStore |
Persists and retrieves workflow definitions. |
IWorkflowStateStore |
Persists workflow execution state. |
IWorkflowProcessFactory |
Creates IWorkflowProcess instances for execution. |
ITaskExecutor / TaskExecutorFactory |
Execute individual DSL tasks. |
RuntimeExpressionEvaluator |
Evaluates runtime expressions (JQ / JavaScript). |
AuthenticationHandler / OAuth2TokenManager |
Handles workflow authentication. |
SecretsManager |
Resolves secret references at runtime. |
ICloudEventBus |
Publishes and subscribes to CloudEvents. |
swf command-line runner| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.2 | 116 | 4/15/2026 |