Runic.Application.CsWebUi
0.3.0-preview.1
dotnet add package Runic.Application.CsWebUi --version 0.3.0-preview.1
NuGet\Install-Package Runic.Application.CsWebUi -Version 0.3.0-preview.1
<PackageReference Include="Runic.Application.CsWebUi" Version="0.3.0-preview.1" />
<PackageVersion Include="Runic.Application.CsWebUi" Version="0.3.0-preview.1" />
<PackageReference Include="Runic.Application.CsWebUi" />
paket add Runic.Application.CsWebUi --version 0.3.0-preview.1
#r "nuget: Runic.Application.CsWebUi, 0.3.0-preview.1"
#:package Runic.Application.CsWebUi@0.3.0-preview.1
#addin nuget:?package=Runic.Application.CsWebUi&version=0.3.0-preview.1&prerelease
#tool nuget:?package=Runic.Application.CsWebUi&version=0.3.0-preview.1&prerelease
Runic.Application.CsWebUi
Hosts generated Runic applications on the independently packaged CS-WebUI runtime. It has no dependency on Runic Desktop or ASP.NET Core.
var assets = AssetArchive.ReadEmbedded(Assembly.GetExecutingAssembly());
await using var app = RunicApplication.CreateBuilder(args)
.UseCsWebUi(new() { Assets = assets })
.Build();
await app.RunAsync();
The application owns the host; the host owns its window, bindings and bridge session. Use the window property for CS-WebUI-specific features. Native close confirmation is not supported by this integration; use application-level dirty navigation confirmation or explicitly select Desktop for native close veto. The host serves only manifest assets, binds to loopback and authenticates every application callback with a random per-host capability. Event polling is bounded and scoped to the initialized native client and connection.
The host owns WebUI's process-wide lifetime. Start one CS-WebUI application per
process; stopping it closes all WebUI windows in that process. In particular,
the persistent server must receive WebUiApplication.Exit() before window
disposal. Disposing a running server directly in the pinned native package can
free mutexes that its server thread is still using.
| 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
- CsWebUi (>= 2.5.0-beta.4.4)
- Microsoft.Extensions.DependencyInjection (>= 10.0.11)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.11)
- Runic.Application (= 0.3.0-preview.1)
- Runic.Application.Bridge (= 0.3.0-preview.1)
- Runic.Assets (= 0.3.0-preview.1)
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 |
|---|---|---|
| 0.3.0-preview.1 | 46 | 9/11/2026 |
| 0.2.0-preview.1 | 47 | 9/9/2026 |