formaui-net.Blazor.WebAssembly 1.0.0-preview.27

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

Forma.Blazor.WebAssembly

The WebAssembly half of Forma's component library: the registration a WebAssembly client makes, which registers what the components need in the browser and the culture a WebAssembly runtime keeps.

Install

dotnet add package formaui-net.Blazor.WebAssembly --prerelease

It brings formaui-net.Blazor and the Framework packages the components build on.

Register

In the client's Program.cs:

using Forma.Blazor;

builder.Services.AddFormaWebAssemblyIntegration();

AddFormaWebAssemblyIntegration() registers what AddFormaUIServices() registers for every render mode, each only where nothing is registered for it yet, and the culture's WebAssembly half, Forma.Framework.Culture.Blazor.WebAssembly: the runtime registers its culture state with the page's culture coordinator as it starts, before it renders, so it follows every switch on the page, and each pair it applies becomes the process's default cultures too, so an event or a timer after a switch runs in the new pair.

WebAssemblyIntegrationOptions.InputRouting sets the application's input policy, and WebAssemblyIntegrationOptions.CultureArrangement how the page treats the client's culture: Coordinated, the default, follows the page's coordinator, and Independent keeps the client's culture its own, switched alone, which the server declares too:

builder.Services.AddFormaWebAssemblyIntegration(options =>
{
    options.InputRouting = new InputRouterOptions { ... };
    options.CultureArrangement = CultureArrangement.Independent;
});

The library's README sets a Web App up with both halves, in either arrangement, the host's locale files included.

A standalone app

A standalone WebAssembly app has no server to publish the page's culture, so its runtime starts the page's coordinator from the cultures it starts in, which the app sets before it runs, and from WebAssemblyIntegrationOptions.CultureSwitchPolicy, how a switch persists: in the state alone by default, or in a cookie. Its document's language and direction follow each switch. A standalone app switches without culture addresses, since nothing gives its document a base in each culture.

License

Apache License 2.0, under the repository's LICENSE.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
1.0.0-preview.27 42 12/3/2026
1.0.0-preview.26 44 12/3/2026
1.0.0-preview.25 47 12/2/2026
1.0.0-preview.24 48 12/1/2026
1.0.0-preview.23 63 11/30/2026
1.0.0-preview.22 65 11/30/2026
1.0.0-preview.21 69 11/29/2026
1.0.0-preview.20 61 11/26/2026
1.0.0-preview.19 65 11/26/2026
1.0.0-preview.18 65 11/26/2026
1.0.0-preview.17 64 11/26/2026
1.0.0-preview.16 54 11/24/2026
1.0.0-preview.15 55 11/23/2026
1.0.0-preview.14 55 11/23/2026
1.0.0-preview.13 57 11/21/2026
1.0.0-preview.12 58 11/20/2026
1.0.0-preview.11 62 11/18/2026
1.0.0-preview.10 68 11/17/2026
1.0.0-preview.9 66 11/17/2026
1.0.0-preview.8 60 11/17/2026
Loading failed

What this release changed is in Forma's changelog: https://github.com/FormaUI/Forma/blob/v1.0.0-preview.27/CHANGELOG.md