RBushWeb.Blazor 0.2.2

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

RBushWeb.Blazor

Install RBushWeb.Blazor 0.2.2 for .NET 8/.NET 10. The native R-tree browser engine is included as local static assets for interactive WebAssembly and Server.

Typed spatial services

After SpatialProvider.Ready, call SpatialIndex<T>.CreateAsync(module), then insert/upsert SpatialItem<T> values with unique string IDs and finite ordered Envelope bounds. Stable IDs retain native references for identity-safe deletion across C# DTO round trips.

The service supports bulk loading, replacement, intersection search, collision checks, KNN with optional distance/predicate, statistics, validation, clear and snapshots. Search/KNN/snapshot results use complete streamed JSON. Snapshot import validates before replacing the current index and restores the saved branching configuration. Invalid or duplicate input does not partially replace an index.

<SpatialQuery TItem="string" Index="index" Bounds="bounds" Revision="revision">
    <ChildContent Context="items">
        @foreach (var item in items) { <p @key="item.Id">@item.Value</p> }
    </ChildContent>
</SpatialQuery>

Increment Revision after mutating the index so a query component refreshes. Query results are DTO copies; edits must be committed through the service. The sample validates native queries against brute force, nearest-neighbor identity, deletion and snapshot restore.

Full native APIs are available through Module/Handle, including returned function references and synchronous browser callback descriptors. Read INTEGRATION.md for hosting, ownership and publishing. Typed helpers complement native API access; underlying engine compatibility limits still apply.

Lifecycle in 0.2.2

The shared runtime fixes concurrent visual cleanup, callbacks queued before removal, late template imports/root creation and retained cleanup failures. Native Razor factories now return awaitable teardown, coalesce parameter updates and retain roots during synchronous movement. Shared JavaScript/managed regressions and package-restored movement/update/recreation tests run in both sample hosts alongside spatial tests.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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
0.2.2 78 9/14/2026
0.2.1 78 9/14/2026
0.2.0 69 9/14/2026