FluxFlow.Fluent.Hosting
4.0.0
See the version list below for details.
dotnet add package FluxFlow.Fluent.Hosting --version 4.0.0
NuGet\Install-Package FluxFlow.Fluent.Hosting -Version 4.0.0
<PackageReference Include="FluxFlow.Fluent.Hosting" Version="4.0.0" />
<PackageVersion Include="FluxFlow.Fluent.Hosting" Version="4.0.0" />
<PackageReference Include="FluxFlow.Fluent.Hosting" />
paket add FluxFlow.Fluent.Hosting --version 4.0.0
#r "nuget: FluxFlow.Fluent.Hosting, 4.0.0"
#:package FluxFlow.Fluent.Hosting@4.0.0
#addin nuget:?package=FluxFlow.Fluent.Hosting&version=4.0.0
#tool nuget:?package=FluxFlow.Fluent.Hosting&version=4.0.0
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 the runtime — the graph comes from
FluxFlow.Fluent (Flow.From(...)...Build()), and you construct nodes inside the
factory (optionally from DI). For composing nodes without hosting, 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 (>= 4.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.7)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.7)
-
net8.0
- FluxFlow.Fluent (>= 4.0.0)
- 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 |
|---|---|---|
| 5.0.0-rc.1 | 58 | 8/9/2026 |
| 4.0.0 | 105 | 8/3/2026 |
| 1.0.0 | 112 | 7/4/2026 |
Updates hosted Fluent integration for the canonical-only Composition dependency.