FluxFlow.Fluent.Hosting
6.0.0-rc.2
dotnet add package FluxFlow.Fluent.Hosting --version 6.0.0-rc.2
NuGet\Install-Package FluxFlow.Fluent.Hosting -Version 6.0.0-rc.2
<PackageReference Include="FluxFlow.Fluent.Hosting" Version="6.0.0-rc.2" />
<PackageVersion Include="FluxFlow.Fluent.Hosting" Version="6.0.0-rc.2" />
<PackageReference Include="FluxFlow.Fluent.Hosting" />
paket add FluxFlow.Fluent.Hosting --version 6.0.0-rc.2
#r "nuget: FluxFlow.Fluent.Hosting, 6.0.0-rc.2"
#:package FluxFlow.Fluent.Hosting@6.0.0-rc.2
#addin nuget:?package=FluxFlow.Fluent.Hosting&version=6.0.0-rc.2&prerelease
#tool nuget:?package=FluxFlow.Fluent.Hosting&version=6.0.0-rc.2&prerelease
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 | Versions 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. |
-
net10.0
- FluxFlow.Fluent (>= 6.0.0-rc.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.7)
-
net8.0
- FluxFlow.Fluent (>= 6.0.0-rc.2)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.7)
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.