Stateflows 0.24.1-beta

Prefix Reserved
This is a prerelease version of Stateflows.
dotnet add package Stateflows --version 0.24.1-beta
                    
NuGet\Install-Package Stateflows -Version 0.24.1-beta
                    
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="Stateflows" Version="0.24.1-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stateflows" Version="0.24.1-beta" />
                    
Directory.Packages.props
<PackageReference Include="Stateflows" />
                    
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 Stateflows --version 0.24.1-beta
                    
#r "nuget: Stateflows, 0.24.1-beta"
                    
#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 Stateflows@0.24.1-beta
                    
#: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=Stateflows&version=0.24.1-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Stateflows&version=0.24.1-beta&prerelease
                    
Install as a Cake Tool

Introduction

Stateflows is a .NET framework for building stateful applications with executable state machines, data-flow activities, actions, and entities. Model business lifecycles, coordinate concurrent work, and process live streams through typed, testable C# APIs. Run locally or scale with Orleans, with persistence, messaging, and observability integrated into your behaviors.

Getting Started

Go to Stateflows homepage to learn more.

Orleans storage and notification changes

The Orleans runtime uses ordinary grain storage, not Orleans transactions. Related entity operations are independent calls and cannot be enlisted in the caller's state write. Existing Orleans transactional behavior records are not automatically migrated to ordinary grain storage; migrate or recreate them before upgrading. Pending publications in the former behavior outbox are not recovered by the new runtime; drain them before upgrading and remove obsolete Stateflows.Outbox reminders. The StageSending API and its in-memory staging mechanism have been removed.

Notifications are published during execution, even if the behavior later fails. Retention and delivery retries, when configured, are handled by the subscriptions grain. ExecutionMode.Transactional identifies an invocation outside a live Activity stream; it does not imply a distributed transaction. The former ImmediatePublish attribute and header, publish-node option, transactional entity operations, and transaction-specific Aborted status have been removed.

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 (11)

Showing the top 5 NuGet packages that depend on Stateflows:

Package Downloads
Stateflows.Locks.DistributedLock

Package Description

Stateflows.Storage.EntityFrameworkCore

Package Description

Stateflows.Testing

Package Description

Stateflows.Extensions.PlantUml

Package Description

Stateflows.Extensions.OneOf

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.24.1-beta 85 11/22/2026
0.23.3-beta 123 11/19/2026
0.23.2-beta 114 11/17/2026
0.23.1-beta 118 11/12/2026
0.23.0-beta 118 11/11/2026
0.22.0-beta 114 10/28/2026
0.21.1-beta 129 10/20/2026
0.21.0-beta 110 10/19/2026
0.20.13-beta 124 9/25/2026
0.20.12-beta 348 9/8/2026
0.20.11-beta 148 9/7/2026
0.20.10-beta 121 9/2/2026
0.20.9-beta 127 9/1/2026
0.20.8-beta 162 8/17/2026
0.20.7-beta 131 8/6/2026
0.20.6-beta 132 8/5/2026
0.20.5-beta 150 7/23/2026
0.20.4-beta 241 6/24/2026
0.20.3-beta 132 6/24/2026
0.19.7-beta 131 11/2/2026
Loading failed