BlazorDX.Interop 0.7.0

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

BlazorDX

🌐 Live demo & docs → blazordx.com

⚠️ Beta — not for production. BlazorDX was built with substantial AI assistance, is largely untested, and is published for evaluation and testing only. It is not designed for production workloads. See Status.

Headless Blazor components for .NET 10, styled through CSS variables. MIT-licensed. No reflection in the library's own code. C# components, with Rust compiled to WebAssembly for the grid's numeric work.

BlazorDX is built in 2 layers: headless primitives that own behavior and accessibility, and styled components on top of them. It is designed to avoid 2 failure modes of reflection-heavy component libraries, breaking under trimming or AOT compilation and sharing UI state across users on the server. Build-time analyzers check part of that, and the table below says which part.

What makes it different

Principle How BlazorDX does it
Security checks and defaults Analyzers fail the build on new MarkupString(x) or (MarkupString)x with a non-constant x in a .cs file (DX1001; .razor markup is not checked) and warn on AddSingleton<T>() when the name of T ends in State or Store (DX1002; this repository builds warnings as errors). HtmlSanitizer encodes everything unless you give it a policy, CSV export neutralizes formula cells, and Markdown links pass a scheme allow-list.
No reflection in the library JSON and grid binding come from C# source generators. The library projects set IsTrimmable and IsAotCompatible with warnings as errors, so a trim or AOT analyzer warning fails their build.
Headless, two-tier Tier 1 primitives own behavior + accessibility; Tier 2 styled components own looks via CSS variables. Theme without fighting !important.
Right language for the job C# for the render tree, Rust → WASM in the browser for numeric column sorts, totals, histograms and chart downsampling (text sorts and filters stay in C#), TypeScript → minified ESM for the thin DOM bridge.
Static-SSR + HTMX forms A hypermedia tier for forms and progressive enhancement with zero WASM payload and no SignalR circuit.
AI-callable, securely One [DxFormModel] is both a form a person fills and a tool an assistant calls, served over the Model Context Protocol, gated by authorization, audited, and with sensitive fields kept out of the AI's reach. See docs/ai-integration.md.
1000-line cap .cs and .css files are capped at 1000 lines, enforced at build time. The .cs cap skips the analyzer and source-generator projects. .razor, Rust and TypeScript files are not checked yet.

See ARCHITECTURE.md for the full blueprint, COMPONENTS.md for the component catalog, docs/adr for the decisions behind it, and ROADMAP.md for what "complete" means and what is still ahead.

Live demo: blazordx.com has the component demos, the docs and the DataGrid at 100k rows.

Install

BlazorDX is published on nuget.org. Add the one package you need. It transitively pulls the primitives, Rust/WASM compute, JS interop, and the source generator:

dotnet add package BlazorDX.Components

Wire up the services (in both the WASM client and the server host Program.cs, so prerendering works):

using BlazorDX.Compute;

builder.Services.AddBlazorDXCompute();               // grid compute (Rust in the browser) + DOM/JS interop
builder.Services.AddScoped<BlazorDX.Components.ToastService>();   // only if you use DxToast

Link the styles you use from the package's static web assets (start with the theme; add per feature; the full set lives under _content/BlazorDX.Components/):

<link rel="stylesheet" href="_content/BlazorDX.Components/dx-theme.css" />
<link rel="stylesheet" href="_content/BlazorDX.Components/dx-datagrid.css" />
<link rel="stylesheet" href="_content/BlazorDX.Components/dx-overlay.css" />

The Rust dx_grid.wasm and the JS bridges ship inside the package as static web assets and load automatically, with no extra build tooling on the consumer side.

Packages: BlazorDX.Components (styled, start here) · BlazorDX.Primitives (headless + the source generator) · BlazorDX.Interop · BlazorDX.Compute · BlazorDX.Security · BlazorDX.Htmx (static-SSR forms tier) · BlazorDX.Documents + .Documents.Parsing (Excel/Word viewer/editor, hand-rolled OOXML) · BlazorDX.Integrations.PowerBI · BlazorDX.Integrations.Reporting (SSRS). The last 4 are opt-in; pull them in only if you need documents/reporting.

Repository layout

src/        BlazorDX.* libraries (Primitives, Components, Interop, Compute, Security, SourceGen, Htmx,
            Documents, Documents.Parsing, Integrations.PowerBI, Integrations.Reporting)
analyzers/  BlazorDX.Analyzers: the build-time governance (DX1000 line cap + security bans)
build/      MSBuild targets that compile the Rust and TypeScript tiers
samples/    BlazorDX.Demo: the Blazor Web App behind blazordx.com, with the component demos
tests/      bUnit, compute, analyzer, integration, and Playwright E2E test suites
docs/adr/   Architecture Decision Records

From a clean machine to a green gate

Prerequisites

Tool Why Install
.NET 10 SDK The whole platform. https://dotnet.microsoft.com
Rust + wasm32-unknown-unknown The Rust compute tier. rustup target add wasm32-unknown-unknown
Node.js esbuild bundles the TypeScript tier. https://nodejs.org

The build degrades gracefully: if Rust or Node is missing it emits a clear warning and skips that tier, and the DataGrid still works because BlazorDX.Compute ships a managed C# fallback for every Rust routine.

Quick start

[ "$(dotnet --version | cut -d. -f1)" -ge 10 ]    # .NET SDK 10.0 or later
dotnet build BlazorDX.slnx          # builds C#, Rust (wasm), and TypeScript (esm)
dotnet test                         # bUnit + compute + analyzer suites (E2E skips if no server)
dotnet run --project samples/BlazorDX.Demo

To run the real-browser end-to-end suite (Playwright), start the demo, install a browser once, then point the tests at it:

dotnet run --project samples/BlazorDX.Demo/BlazorDX.Demo &     # serves http://localhost:5296
pwsh tests/BlazorDX.E2E.Tests/bin/Debug/net10.0/playwright.ps1 install chromium
BLAZORDX_BASEURL=http://localhost:5296 dotnet test tests/BlazorDX.E2E.Tests

The CI workflow (.github/workflows/ci.yml) defines the unit suites and the E2E suite across Chromium, Firefox, and WebKit (GitHub Actions format; adapt for your CI host).

Then open the printed URL. The DataGrid page shows 100,000 rows, virtualized to the viewport, with numeric column sorts and totals in the Rust WASM module, row selection, inline edit, column reorder/resize, and pinned columns. The nav links to the other demos, and COMPONENTS.md lists the components.

Status

Beta release. This project was created with substantial assistance from AI systems and has had only limited testing. Expect defects, gaps, and breaking changes. It is not intended for production use. Treat it as a preview to evaluate and give feedback on.

BlazorDX spans 100+ components across overlays, inputs, navigation, the data-grid family (flat / tree / pivot, with server-side data and grouping), data visualization, scheduling (calendar / Gantt), editors (Markdown / WYSIWYG), files, forms (rendered from one model that doubles as an AI/MCP tool), an AI chat surface, and an Extended Document Handling track: Excel (.xlsx) and Word (.docx) viewers/editors with a live formula engine and hand-rolled OOXML, a PDF viewer that embeds the browser's own, and SSRS / Power BI reporting. See COMPONENTS.md for the full catalog.

  • Tests: bUnit + compute + analyzer suites green, plus the Rust crate's own unit tests, plus a Playwright E2E suite that drives a real browser against the running demo (native drag-and-drop, canvas pixels, focus, console errors), covering what bUnit cannot, and wired into CI across Chromium/Firefox/WebKit.
  • Trimming/AOT: the library projects set IsTrimmable and IsAotCompatible and treat warnings as errors, so the trim and AOT analyzers fail their build. The demo's WASM publish proves less: the Blazor WebAssembly SDK sets SuppressTrimAnalysisWarnings=true unless TrimmerDefaultAction=link, so its trim warnings stay hidden. AOT compilation is opt-in via -p:EnableAot=true (needs the wasm-tools workload) and the CI aot-publish job builds the full component set AOT and smoke-tests the published app with Playwright.
  • Old hardware: CI also runs every job on a 2009 Xeon with no AVX. Everything server-side passes there unchanged. WebKit on such a CPU cannot run a default WebAssembly build (it has no wasm SIMD without AVX); build the client with -p:WasmEnableSIMD=false -p:BlazorWebAssemblyJiterpreter=false if you need it to. See CHANGELOG.md, Known limitations.
  • Governance: DX1000-DX1002 run on every C# project except the analyzer and source-generator projects, and the 1000-line cap also covers CSS.

License & support

BlazorDX is free and open source under the MIT license, covering the full component library, source generators, Rust compute, and tooling. No license keys, no paid tiers gating the code, no runtime license checks. Use it in commercial products without restriction.

Sustaining the project and serving teams that need more than community help is funded through optional support, not by locking the code. See SUPPORT.md for community help, sponsorship, and commercial support by arrangement. Security reports: SECURITY.md. A recommended Content-Security-Policy, which the demo app sends: docs/csp.md.


Trademarks

BlazorDX is an independent project and is not affiliated with, endorsed by, or sponsored by Microsoft, Progress/Telerik, DevExpress, Syncfusion, MudBlazor, Blazorise, or any other company. All product names, logos, and trademarks are the property of their respective owners; any reference to them is for identification and comparison only.

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 (2)

Showing the top 2 NuGet packages that depend on BlazorDX.Interop:

Package Downloads
BlazorDX.Compute

Headless Blazor components for .NET 10, styled through CSS variables. Written in C#, Rust and TypeScript. Beta and AI-generated; not for production use.

BlazorDX.Primitives

Headless Blazor components for .NET 10, styled through CSS variables. Written in C#, Rust and TypeScript. Beta and AI-generated; not for production use.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 57 12/4/2026
0.6.1 378 9/20/2026
0.6.0 166 9/5/2026
0.4.4 186 6/28/2026
0.2.0 182 6/25/2026
0.1.0 158 6/22/2026