FluxFlow.Components.Sessions.Composition 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FluxFlow.Components.Sessions.Composition --version 1.5.0
                    
NuGet\Install-Package FluxFlow.Components.Sessions.Composition -Version 1.5.0
                    
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.Components.Sessions.Composition" Version="1.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluxFlow.Components.Sessions.Composition" Version="1.5.0" />
                    
Directory.Packages.props
<PackageReference Include="FluxFlow.Components.Sessions.Composition" />
                    
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.Components.Sessions.Composition --version 1.5.0
                    
#r "nuget: FluxFlow.Components.Sessions.Composition, 1.5.0"
                    
#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.Components.Sessions.Composition@1.5.0
                    
#: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.Components.Sessions.Composition&version=1.5.0
                    
Install as a Cake Addin
#tool nuget:?package=FluxFlow.Components.Sessions.Composition&version=1.5.0
                    
Install as a Cake Tool

FluxFlow.Components.Sessions.Composition

Optional FluxFlow.Composition registration helpers for the standalone session recorder, replay, and query nodes from FluxFlow.Components.Sessions.

This package does not scan assemblies, register concrete stores, own retention policy, or configure persistence. Hosts register session node factories explicitly and provide either a keyed ISessionStore or a keyed ISessionStoreFactory; they may also provide an optional keyed TimeProvider.

Registration

services.AddKeyedSingleton<ISessionStoreFactory>("sessions", sessionStoreFactory);

services
    .AddFluxFlowComposition(configuration)
    .RegisterNodes(registry => registry
        .RegisterSessionRecorder()
        .RegisterSessionReplay()
        .RegisterSessionQuery());

Node Types

Type Node Ports
session.recorder SessionRecorderNode Input, Output
session.replay SessionReplayNode Output
session.query SessionQueryNode Input, Output, Sessions

Each factory exposes Events and Errors. store is a required keyed ISessionStore or ISessionStoreFactory resource. Direct stores remain host-owned. Factory leases are opened during composition build and disposed with the composed node. clock is an optional keyed TimeProvider resource for deterministic result, event, error, and replay timing.

Configuration

{
  "FluxFlow": {
    "Composition": {
      "workflows": {
        "main": {
          "nodes": {
            "recorder": {
              "type": "session.recorder",
              "resources": {
                "store": "sessions",
                "clock": "fixed"
              },
              "configuration": {
                "sessionId": "run-1",
                "name": "integration run",
                "boundedCapacity": 128
              }
            }
          },
          "links": []
        }
      }
    }
  }
}

The adapter binds the existing session option records from node configuration. The Store option remains configuration metadata; the composition adapter resolves the concrete ISessionStore or ISessionStoreFactory from the store resource. Invalid option values fail during composition build through the node factory. If build failures are configured as diagnostics, the runtime is not created and the host receives a FactoryFailed diagnostic with the relevant option name.

Design Metadata

SessionsComponentDesignMetadataProvider exposes neutral Designer metadata for session.recorder, session.replay, and session.query so hosts can build palettes, editors, validation hints, or documentation without copying package descriptors. The metadata describes the existing session option records with section, importance, and editor hints; fixed ports; and resource picker hints with key patterns for the required store and optional clock resources. Concrete ISessionStore instances, ISessionStoreFactory registrations, and optional keyed TimeProvider clocks remain host-owned resources and are not modeled as editable node options; the store option remains only diagnostic/config metadata. The provider authors that metadata through the shared validated Designer metadata builder.

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
8.0.0-rc.1 94 9/5/2026
7.0.0-rc.1 93 8/9/2026
6.0.0 147 8/3/2026
1.6.0 139 7/3/2026
1.5.0 132 7/2/2026

Adds richer Designer option hints and host-owned resource key patterns for Sessions composition metadata while preserving existing session composition behavior.