RunicToolkit.Hosting.GenericHost
0.1.0-preview.30.1
dotnet add package RunicToolkit.Hosting.GenericHost --version 0.1.0-preview.30.1
NuGet\Install-Package RunicToolkit.Hosting.GenericHost -Version 0.1.0-preview.30.1
<PackageReference Include="RunicToolkit.Hosting.GenericHost" Version="0.1.0-preview.30.1" />
<PackageVersion Include="RunicToolkit.Hosting.GenericHost" Version="0.1.0-preview.30.1" />
<PackageReference Include="RunicToolkit.Hosting.GenericHost" />
paket add RunicToolkit.Hosting.GenericHost --version 0.1.0-preview.30.1
#r "nuget: RunicToolkit.Hosting.GenericHost, 0.1.0-preview.30.1"
#:package RunicToolkit.Hosting.GenericHost@0.1.0-preview.30.1
#addin nuget:?package=RunicToolkit.Hosting.GenericHost&version=0.1.0-preview.30.1&prerelease
#tool nuget:?package=RunicToolkit.Hosting.GenericHost&version=0.1.0-preview.30.1&prerelease
RunicToolkit.Hosting.GenericHost
This adapter composes Microsoft.Extensions Generic Host with the dependency-neutral
RunicToolkit.Hosting lifecycle kernel. It preserves Generic Host configuration,
services, and logging access during construction, then returns a single-use
RunicToolkitApplication without exposing a service provider.
ApplicationStopping, cancellation, disposal, window close, and mode completion all
converge on the kernel-owned stop controller. The optional structured logging sink
uses the Hosting event IDs 11000–11006 and logs only bounded enum/numeric values
and sanitized stable codes. It never logs launch arguments, payloads, asset content,
exception messages, or secrets.
The public types remain in the RunicToolkit.Hosting namespace so a consumer moving
from an earlier combined assembly only needs to add this adapter package:
var builder = new GenericHostRunicToolkitApplicationBuilder(args);
builder.Services.AddHostedService<MyService>();
builder.Application.AddModeRunner(new MyModeRunner());
await using RunicToolkitApplication application = builder.Build();
return (await application.RunAsync()).ExitCode ?? 0;
Frontend applications normally start from the shared high-level builder:
var builder = WebUiApp.CreateBuilder(args);
builder.Services.AddSingleton<MyApplicationService>();
// A frontend package contributes its own extension members here.
builder.UseMyFrontend(...);
return await builder.RunAsync();
WebUiAppBuilder contains only common Generic Host and lifecycle concerns.
Frontend packages use its public feature bag to add strongly typed methods and
properties without adding framework dependencies to the shared package.
The complete declared surface is recorded in PUBLIC-API.md.
The package is MIT licensed. Publication still requires package identity and release-readiness review.
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting (>= 10.0.10)
- RunicToolkit.Hosting (>= 0.1.0-preview.30.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RunicToolkit.Hosting.GenericHost:
| Package | Downloads |
|---|---|
|
RunicToolkit.Hosting.CsWebUi.App
High-level WebUiApp composition for native CS-WebUI frontends. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.30.1 | 76 | 8/11/2026 |