Kazo.Os.Windowing.Blazor 3.3.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Kazo.Os.Windowing.Blazor --version 3.3.3
                    
NuGet\Install-Package Kazo.Os.Windowing.Blazor -Version 3.3.3
                    
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="Kazo.Os.Windowing.Blazor" Version="3.3.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kazo.Os.Windowing.Blazor" Version="3.3.3" />
                    
Directory.Packages.props
<PackageReference Include="Kazo.Os.Windowing.Blazor" />
                    
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 Kazo.Os.Windowing.Blazor --version 3.3.3
                    
#r "nuget: Kazo.Os.Windowing.Blazor, 3.3.3"
                    
#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 Kazo.Os.Windowing.Blazor@3.3.3
                    
#: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=Kazo.Os.Windowing.Blazor&version=3.3.3
                    
Install as a Cake Addin
#tool nuget:?package=Kazo.Os.Windowing.Blazor&version=3.3.3
                    
Install as a Cake Tool

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 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 (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-preview.1 74 11/17/2026
3.5.2 115 11/18/2026
3.5.1 149 11/18/2026
3.5.0 161 11/17/2026
3.4.3 138 11/17/2026
3.4.2 139 11/17/2026
3.4.1 148 11/16/2026
3.4.0 306 11/15/2026
3.4.0-preview.4 94 11/15/2026
3.4.0-preview.3 78 11/15/2026
3.4.0-preview.2 74 11/15/2026
3.4.0-preview.1 74 11/15/2026
3.3.4 206 11/13/2026
3.3.3 151 11/13/2026
3.3.2 146 11/13/2026
3.3.1 130 11/13/2026
3.3.0 146 11/11/2026
3.2.1 188 11/8/2026
3.2.0 149 11/7/2026
3.1.0 146 11/7/2026
Loading failed

Kazo OS 3.3.3, changes for app developers:
- Kazo.Os.AppSdk.Craft: the shared module of the Craft apps. A new SDK library shipped and served by Kazo OS for the apps that show a Craft app (Rust compiled to WebAssembly) in an iframe of their window: CraftFrame (the iframe and its messages), DocumentSession and SaveDecision (bound files, changes, title, close), CraftDocumentFormats, WebStorageFile (per-user settings in ~/.config/<appId>/), PickRequest, ReservedKeys and CraftLanguage. Taken from Kazo Word and made generic (ADR 0259).
- Opening a file no app supports names the Store apps that can open it. When no installed app opens a file, the OS looks in the Store catalogs it already downloaded for the apps that declare the file type, without waiting for the network. xdg-open lists them with the kazopkg install command, and KazoApps.OpenFileAsync returns them in KazoOpenFileResult.SuggestedCatalogApps.
- The File Explorer proposes Store apps for a file no app opens. Opening a file no installed app supports now shows the Open with box with the Store apps that declare its type: icon, name, short description and a View in the Store button. The Store opens on the app's page and, once the app is installed, opens the file. Open with shows the same section under the installed apps. Apps can ask for the list with KazoApps.GetSuggestedCatalogAppsAsync.
- App repositories show their Store listing in the README. The kazoos-solution template's README starts with the app's Kazo OS Store listing, a Try it section and a short presentation of Kazo OS. .github/scripts/store-readme.mjs copies the description, icon and screenshots of store/ into README.md and readme-fr.md, and CI fails when a README differs from store/.
- Kazo.Os.AppSdk.Craft reads GridCraft's documents and languages. OpenDocument.ListFrom now reads both shapes of ui.inspect (WordCraft's documents with ids, GridCraft's windows pointing at documents), with a new overload that names a document with no path from its title. CraftLanguage.Pick falls back to the two-letter code when the Craft app lists only those. The Craft app guide adds the pitfalls of the close guard and the missing window menu.
- Craft apps stay on their screen instead of losing their document. Sending a window to another screen reloaded the iframe of Craft apps such as Kazo Word, which lost the open document. A window can now declare window.canChangeScreen: false (WindowOptions.CanChangeScreen): it opens on screen 1, Other screen shows a greyed-out entry, and a screen shortcut or a drop on another screen shows a notification: known issue, a fix is in progress.
- Guide and end-to-end test for Craft apps on the Kazo.Os.AppSdk.Craft module. A new guide, framework/craft-apps.md, shows how to write a Craft app window on the module: the iframe page, the CraftFrame events, the save rule, the minimum OS version. build/publish-trimmed.sh now packs a Craft test package (a window around a fake Craft app), installs it with kazopkg in the trimmed OS and drives it: open, save, Save As through a reserved chord, changes, an error after ready, theme, file picker, close guard and per-user settings. The Craft app port guide is rewritten on the module.
- Shared scripts for the Craft apps' iframe. The Kazo.Os.AppSdk.Craft module serves craft-host.js (OS side) and craft-proxy.js (in the iframe, with its file picker, reserved shortcuts and settings modules), taken from Kazo Word. An app's iframe page names its app with data-craft-app and its build with data-craft-build; saves with an id get saved back, and errors after ready reach the window as error.
- The direct link logs the Store opened for an account, and is tested end to end. /var/log/apps/org.kazoos.app-link.log gets an app-link.store-opened line when an account signs in and the Store opens at the app's page. build/publish-trimmed.sh now runs three direct link journeys (no account, account, missing app and cancel) against the official catalog served locally and signed by a key created for the run.
Release notes: https://github.com/Kazo-ca/Os/releases/tag/v3.3.3