Runic.Application.CsWebUi 0.3.0-preview.1

This is a prerelease version of Runic.Application.CsWebUi.
dotnet add package Runic.Application.CsWebUi --version 0.3.0-preview.1
                    
NuGet\Install-Package Runic.Application.CsWebUi -Version 0.3.0-preview.1
                    
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="Runic.Application.CsWebUi" Version="0.3.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Runic.Application.CsWebUi" Version="0.3.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="Runic.Application.CsWebUi" />
                    
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 Runic.Application.CsWebUi --version 0.3.0-preview.1
                    
#r "nuget: Runic.Application.CsWebUi, 0.3.0-preview.1"
                    
#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 Runic.Application.CsWebUi@0.3.0-preview.1
                    
#: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=Runic.Application.CsWebUi&version=0.3.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Runic.Application.CsWebUi&version=0.3.0-preview.1&prerelease
                    
Install as a Cake Tool

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 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. 
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
0.3.0-preview.1 46 9/11/2026
0.2.0-preview.1 47 9/9/2026