RBushWeb.Blazor
0.2.2
dotnet add package RBushWeb.Blazor --version 0.2.2
NuGet\Install-Package RBushWeb.Blazor -Version 0.2.2
<PackageReference Include="RBushWeb.Blazor" Version="0.2.2" />
<PackageVersion Include="RBushWeb.Blazor" Version="0.2.2" />
<PackageReference Include="RBushWeb.Blazor" />
paket add RBushWeb.Blazor --version 0.2.2
#r "nuget: RBushWeb.Blazor, 0.2.2"
#:package RBushWeb.Blazor@0.2.2
#addin nuget:?package=RBushWeb.Blazor&version=0.2.2
#tool nuget:?package=RBushWeb.Blazor&version=0.2.2
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 | Versions 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.10)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.28)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.