FluxFlow.Fluent.Hosting 6.0.0-rc.2

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

FluxFlow.Fluent.Hosting

Optional hosting bridge for FluxFlow.Fluent.

Register a fluent FlowGraph with AddFlowGraph and it runs as an IHostedService: built and started when the host starts, drained on host stop, and disposed on shutdown. The factory delegate receives the application IServiceProvider, so its nodes can be resolved from DI.

Usage

using FluxFlow.Fluent;
using FluxFlow.Fluent.Hosting;

var builder = Host.CreateApplicationBuilder(args);

builder.Services.AddSingleton<IClock, SystemClock>();

builder.Services.AddFlowGraph(sp => Flow
    .From(new TickSource(sp.GetRequiredService<IClock>()))   // nodes resolved from DI
    .Then(new Worker())
    .To(new Sink())
    .Build());

await builder.Build().RunAsync();

Call AddFlowGraph more than once to host several flows in one application; each runs as its own hosted service.

Boundary

FluxFlow.Fluent.Hosting owns only the host lifecycle wiring: the AddFlowGraph registration and a hosted service that builds the graph (once), starts it, stops it on host stop, and disposes it on shutdown.

It does not own node construction, the DSL, or another runtime. The graph comes from FluxFlow.Fluent (Flow.From(...)...Build()), already wraps the canonical definition and FluxFlowApplication, and constructs nodes inside the factory (optionally from DI). For composing nodes without Generic Host integration, use FluxFlow.Fluent directly.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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.  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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.0-rc.2 91 9/5/2026
5.0.0-rc.1 92 8/9/2026
4.0.0 133 8/3/2026
1.0.0 129 7/4/2026

Breaking dependency upgrade: rebuilt for the canonical runtime and event contracts. Adopt the coordinated package set and recompile consumers; no legacy compatibility transport is provided. Requires the corrected passive-observation runtime candidate.