Kazo.Os.Windowing.Blazor
3.4.3
See the version list below for details.
dotnet add package Kazo.Os.Windowing.Blazor --version 3.4.3
NuGet\Install-Package Kazo.Os.Windowing.Blazor -Version 3.4.3
<PackageReference Include="Kazo.Os.Windowing.Blazor" Version="3.4.3" />
<PackageVersion Include="Kazo.Os.Windowing.Blazor" Version="3.4.3" />
<PackageReference Include="Kazo.Os.Windowing.Blazor" />
paket add Kazo.Os.Windowing.Blazor --version 3.4.3
#r "nuget: Kazo.Os.Windowing.Blazor, 3.4.3"
#:package Kazo.Os.Windowing.Blazor@3.4.3
#addin nuget:?package=Kazo.Os.Windowing.Blazor&version=3.4.3
#tool nuget:?package=Kazo.Os.Windowing.Blazor&version=3.4.3
Kazo.Os.Windowing.Blazor
Razor components that render a Kazo.Os.Windowing.Core WindowRuntime:
DesktopArea (the workspace surface), WindowHost (one window's chrome
frame), and WindowChrome (title bar, minimize/maximize/close, and the
pointer-driven move/resize gesture). No MudBlazor dependency.
Usage
<DesktopArea Windows="Runtime.Windows"
OnFocus="HandleFocus"
OnMinimize="HandleMinimize"
OnToggleMaximize="HandleToggleMaximize"
OnClose="HandleClose"
OnGesture="HandleGesture">
<WindowContent Context="window">
@window.Content
</WindowContent>
</DesktopArea>
window.Content is the RenderFragment the host supplied when it created
that window's WindowRuntimeState — this package never needs to know what
a window's content actually is.
Pair this package with 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 packages.
Several screens
Give every DesktopArea the same WindowLayers and its own DisplayId. The area of
screen 1 renders each window once; a window on another screen has its element moved into
that screen's window layer (WindowPortal), so changing screen never recreates it. Add the
screen to the runtime (AddDisplayCommand) before rendering its area.
<DesktopArea Windows="Runtime.Windows" Layers="Layers" ... />
<DesktopArea Windows="Runtime.Windows" Layers="Layers" DisplayId="DisplayId.FromNumber(2)" ... />
See doc/en/wasm/dev/window-portal.md in the source repository (ADR 0178 §3).
With shared layers, a window dragged by its title bar and released over another screen's layer
(in the same page or in another browser window) moves to that screen, where it was dropped
(WindowChrome.ReportScreenDropAsync, ADR 0183, doc/en/wasm/dev/drag-between-screens.md).
Localization
The package's texts (accessible labels, window buttons such as Minimize, Maximize, Restore, Close, Back) live in Resources/Strings.resx
(English) and Resources/Strings.fr.resx (French), read through
Kazo.Os.Theming.Blazor.Localization.PackageStringLocalizer (ADR 0104): a host that
registers an IStringLocalizer<T> (Kazo OS registers its session-language
SessionStringLocalizer<T>) gets its language; a host without localization gets English.
Single surface (phones)
SingleSurfaceArea shows one window at a time, full screen and without chrome,
as MobileShell does. It renders the stack given by
SingleSurfacePresentationPolicy.SelectSurfaceStack: the app's window, then
its owner-modal dialogs. Every window of the stack is maximized; only the top
one takes input, the windows under it stay mounted and inert. Each window host
is its own stacking context, so nothing in an app draws over its dialog
(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.Theming.Blazor (>= 3.4.3)
- Kazo.Os.Windowing.Abstractions (>= 3.4.3)
- Kazo.Os.Windowing.Core (>= 3.4.3)
- Microsoft.AspNetCore.Components.Web (>= 10.0.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Kazo.Os.Windowing.Blazor:
| Package | Downloads |
|---|---|
|
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 | 0 | 11/25/2026 |
| 3.6.0-preview.1 | 84 | 11/17/2026 |
| 3.5.2 | 125 | 11/18/2026 |
| 3.5.1 | 158 | 11/18/2026 |
| 3.5.0 | 191 | 11/17/2026 |
| 3.4.3 | 147 | 11/17/2026 |
| 3.4.2 | 147 | 11/17/2026 |
| 3.4.1 | 149 | 11/16/2026 |
| 3.4.0 | 307 | 11/15/2026 |
| 3.4.0-preview.4 | 98 | 11/15/2026 |
| 3.4.0-preview.3 | 79 | 11/15/2026 |
| 3.4.0-preview.2 | 75 | 11/15/2026 |
| 3.4.0-preview.1 | 75 | 11/15/2026 |
| 3.3.4 | 210 | 11/13/2026 |
| 3.3.3 | 152 | 11/13/2026 |
| 3.3.2 | 147 | 11/13/2026 |
| 3.3.1 | 131 | 11/13/2026 |
| 3.3.0 | 147 | 11/11/2026 |
| 3.2.1 | 189 | 11/8/2026 |
| 3.2.0 | 150 | 11/7/2026 |
Kazo OS 3.4.3, changes for app developers:
- A network app knows whether the Kazo server's relay works. KazoRealNetwork.GetRelayStateAsync tells an app holding network.real.access, without trying, whether the Kazo server's relay can carry its connections (no server, relay turned off, permission not received yet, ready with the blocked ports), and RelayStateChanged says when it changes. A failed connection now says why: KazoTcpClient and KazoUdpClient throw a KazoRelayException with the same SocketError as before, KazoHttp carries ERR_KAZO_RELAY_* codes, and curl, wget, cat and the Browser explain them (ADR 0278).
- An app with only filesystem.private.* can create its ~/.config folder. KazoDirectory.CreateDirectoryAsync no longer fails with CapabilityDenied on ~/.config when the app may create its own ~/.config/<appId>/ but not look at ~/.config.
- On mobile, the top of an app answers touches again. The notification shade's handle now has a status-bar strip of its own above the open app, instead of covering the app's top buttons.
- A trimmed publish writes the API surface it ships. A trimmed publish of a host now writes kazoos-api-surface.json.gz next to wwwroot/: every assembly it ships with its types, methods and fields, so an app can be checked against the trimmed OS before it is published (ADR 0277).
- An app's build refuses APIs the trimmed OS removed. KazoOsPack now checks the package against the API surface of the targeted Kazo OS, which Kazo.Os.App.Build brings: a call to a member the trimmed OS does not have fails the build with KOSAPP0100 and a replacement when one is known, instead of being refused at installation. KazoOsApiCheck=false turns it into the warning KOSAPP0101 (ADR 0277).
Release notes: https://github.com/Kazo-ca/Os/releases/tag/v3.4.3