Kazo.Os.Windowing.Core
3.4.0-preview.2
See the version list below for details.
dotnet add package Kazo.Os.Windowing.Core --version 3.4.0-preview.2
NuGet\Install-Package Kazo.Os.Windowing.Core -Version 3.4.0-preview.2
<PackageReference Include="Kazo.Os.Windowing.Core" Version="3.4.0-preview.2" />
<PackageVersion Include="Kazo.Os.Windowing.Core" Version="3.4.0-preview.2" />
<PackageReference Include="Kazo.Os.Windowing.Core" />
paket add Kazo.Os.Windowing.Core --version 3.4.0-preview.2
#r "nuget: Kazo.Os.Windowing.Core, 3.4.0-preview.2"
#:package Kazo.Os.Windowing.Core@3.4.0-preview.2
#addin nuget:?package=Kazo.Os.Windowing.Core&version=3.4.0-preview.2&prerelease
#tool nuget:?package=Kazo.Os.Windowing.Core&version=3.4.0-preview.2&prerelease
Kazo.Os.Windowing.Core
A headless, renderer-independent window manager engine: applies
Kazo.Os.Windowing.Abstractions commands to authoritative window state
(focus, z-order, geometry, modality, lifecycle) and emits deterministic
events.
This package depends only on Kazo.Os.Windowing.Abstractions for its
contract types (WindowId, WindowBounds, WindowRuntimeState, commands,
events). It has no dependency on Blazor rendering, a browser, or any
particular host application model.
Usage
WindowRuntime runtime = new(new WindowBounds(0, 0, 1280, 720));
WindowRuntimeState state = new(
WindowId.FromGuid(Guid.NewGuid()),
appId: "my-app",
ownerInstanceId: WindowOwnerId.FromGuid(Guid.NewGuid()),
title: "My Window",
iconAssetPath: null,
new WindowBounds(60, 50, 420, 280),
restoreBounds: null,
zOrder: 0,
WindowVisualState.Normal,
new WindowConstraints(isResizable: true, minWidth: 260, minHeight: 180));
runtime.Apply(new CreateWindowCommand(state));
Pair this package with Kazo.Os.Windowing.Blazor for the Blazor
components that render a WindowRuntime's state, and
Kazo.Os.Taskbar.Blazor for a taskbar over the same runtime.
See Kazo.Os.Windowing.SampleHost in the source repository for a complete,
minimal host that uses only these three packages.
Single surface policy
SingleSurfacePresentationPolicy decides what a one-window screen (a phone)
shows. SelectSurfaceStack returns the focused or frontmost window, walked up
to its owner when it is an owner-modal dialog, followed by that owner's modal
dialogs (a dialog opened from a dialog last); SelectPrimary is the top of
that stack, even before a new dialog has the focus. WindowsToMinimize leaves
the stack alone and WindowsToMaximize lists the stack's windows that are not
maximized yet (ADR 0171).
| 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
- Kazo.Os.Windowing.Abstractions (>= 3.4.0-preview.2)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Kazo.Os.Windowing.Core:
| Package | Downloads |
|---|---|
|
Kazo.Os.Windowing.Blazor
Razor components (DesktopArea, WindowHost, WindowChrome) that render a Kazo.Os.Windowing.Core WindowRuntime. No MudBlazor dependency. |
|
|
Kazo.Os.Taskbar.Blazor
A taskbar Razor component driven entirely by host-supplied contracts (window source, command dispatcher, launcher, status, notifications, session commands) -- each optional, each cleanly absent from render when not supplied. |
|
|
Kazo.Os.Platform.Blazor
Kazo OS Blazor shell: desktop, launcher, window launching, dialogs and lazy app loading. For composing an OS host. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.6.0-preview.1 | 81 | 11/17/2026 |
| 3.5.2 | 140 | 11/18/2026 |
| 3.5.1 | 165 | 11/18/2026 |
| 3.5.0 | 169 | 11/17/2026 |
| 3.4.3 | 165 | 11/17/2026 |
| 3.4.2 | 159 | 11/17/2026 |
| 3.4.1 | 169 | 11/16/2026 |
| 3.4.0 | 331 | 11/15/2026 |
| 3.4.0-preview.4 | 108 | 11/15/2026 |
| 3.4.0-preview.3 | 86 | 11/15/2026 |
| 3.4.0-preview.2 | 86 | 11/15/2026 |
| 3.4.0-preview.1 | 89 | 11/15/2026 |
| 3.3.4 | 232 | 11/13/2026 |
| 3.3.3 | 172 | 11/13/2026 |
| 3.3.2 | 163 | 11/13/2026 |
| 3.3.1 | 150 | 11/13/2026 |
| 3.3.0 | 166 | 11/11/2026 |
| 3.2.1 | 211 | 11/8/2026 |
| 3.2.0 | 164 | 11/7/2026 |
| 3.1.0 | 164 | 11/7/2026 |
Kazo OS 3.4.0-preview.2, changes for app developers:
- Apps can carry their own libraries, and a shared library is loaded once. An app installed from a package can now have libraries of its own (another project, a NuGet package or a DLL): KazoOsPack puts them in the package and the OS loads them before the app, so such an app is no longer refused for a missing assembly. A library its author marks as shared (MSBuild property KazoOsSharedLibrary in the library's project) is loaded once for every app: the copy of an installed feature, otherwise the newest one of the same major version. When another copy is already loaded, the app keeps running with it and is shown as “Restart to finish”. An app whose shared library has another major version than an installed feature's copy is refused at installation, as is a library named like an assembly of the OS. For developers: nothing to declare in the app; kazoos-package.json lists the libraries.
- Apps can use the services of an optional feature of the OS. A feature can now provide services to other apps: it declares ProvidedServices (an interface of a shared library and the class that implements it), and an app gets the instance with KazoFeatures.GetServiceAsync<T>(), or null when the feature is absent, disabled or outside the version range the app declares. The instance is created once per page, on the first request, in the feature’s own context and with its permissions. KazoFeatures.IsAvailable<T>(), GetStatusAsync<T>() and Changed tell why and when a service comes and goes. An app that declares the feature as an optional dependency stays in the catalog when the installed version is out of range. The build checks the declaration (KOSAPP0035) and that an app calling KazoFeatures declares a dependency (KOSAPP0034); a second feature that provides the same contract is refused at installation.
- Optional features of the OS, installed for the whole machine. A package can now bring a feature (kind feature): one identity with its entry points (commands, windows, services), installed for every user by an administrator who approves its permissions once at installation; its entry points ask nothing at their first launch. The Store lists a feature its catalog marks kind: feature with the apps and offers “Install for everyone” only. Settings ▸ Applications lists each feature with its entry points. For developers: FeatureDefinition and FeatureEntryPoint in the SDK, one entrypoints/<suffix>.json per entry point in the package, diagnostics KOSAPP0032 and KOSAPP0033.
- The Store offers the newest app version your Kazo OS runs, and a beta OS reads the beta catalog. The Store, kazopkg and the update check no longer offer an app version built for a newer Kazo OS than yours: they pick the newest version that runs here, so an app rebuilt for a newer SDK does not block an older OS. A prerelease of Kazo OS reads the beta channel of the official catalog (catalog-beta.json) and offers the beta versions of the apps; a stable Kazo OS reads catalog.json and never sees them.
- App repositories call shared workflows and follow new Kazo OS versions by themselves. The kazoos-solution template now generates short workflows that call the reusable workflows of Kazo-ca/Os-AppTemplate (@v1), plus a "Kazo OS SDK update" workflow: when Kazo OS releases a version, the app moves to it, runs its CI, and is published (beta branch and beta channel for a pre-release; merged and published for a minor or major release; checked only for a patch). A red CI opens a TODO issue. A beta version (1.2.1-beta.1) goes to the beta channel of the catalog, and .github/scripts/bump-app-version.sh changes the app's version.
- Kazo OS prereleases are published from the beta branch. Changing the preview number in build/Versions.props on the beta branch publishes a prerelease: Kazo.Os.* packages on nuget.org, a v<version> tag and a GitHub pre-release. main only accepts a stable version and beta only a prerelease version.
Release notes: https://github.com/Kazo-ca/Os/releases/tag/v3.4.0-preview.2