RecursiveAI.OneApp.Browser 1.0.0

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

RecursiveAI.OneApp.Browser

Runs OneUI components in the browser. The app is compiled to browser-wasm; each top-level component is registered as a custom element, and a small ES module that ships in the package (oneui-browser.js, no dependencies) applies the component model's change sets to the real DOM and sends DOM events back. Layout and painting are the browser's. The same components run natively through RecursiveAI.OneApp.

// Program.cs of a Microsoft.NET.Sdk.WebAssembly app
BrowserApp.Define("oneui-todo", host => new TodoApp { Added = t => host.Emit("added", t) }, o => o
    .StringParam("heading", (c, v) => c.Heading = v));
<oneui-todo heading="Groceries"></oneui-todo>
<script type="module">
  import { boot } from './oneui-browser.js';
  await boot();
</script>

The package's build targets copy oneui-browser.js into wwwroot; dotnet publish -c Release produces a static folder for any file server. Attributes map to component parameters through ElementOptions, components send events to the page with ElementHost.Emit, and BrowserHost.Fetch is the host interface for requests an app makes through its page. docs/browser.md has the API, the bridge protocol and how to host it.

Source and issues: https://github.com/recursive-ai-oss/oneapp-csharp. Licensed under MIT OR Apache-2.0.

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
1.0.0 0 12/2/2026

See CHANGELOG.md in the repository.