BlazorNative.Core
0.5.1
dotnet add package BlazorNative.Core --version 0.5.1
NuGet\Install-Package BlazorNative.Core -Version 0.5.1
<PackageReference Include="BlazorNative.Core" Version="0.5.1" />
<PackageVersion Include="BlazorNative.Core" Version="0.5.1" />
<PackageReference Include="BlazorNative.Core" />
paket add BlazorNative.Core --version 0.5.1
#r "nuget: BlazorNative.Core, 0.5.1"
#:package BlazorNative.Core@0.5.1
#addin nuget:?package=BlazorNative.Core&version=0.5.1
#tool nuget:?package=BlazorNative.Core&version=0.5.1
BlazorNative.Core
Core contracts for BlazorNative:
the shell bridge and interop abstractions, the INavigationManager contract, and the
DI-facing primitives shared by every other BlazorNative package.
Where it sits
Your app → BlazorNative.Components → BlazorNative.Renderer → BlazorNative.Runtime
→ the native shells. Core is the contracts layer underneath all of them — it names
no renderer, no runtime, no shell.
What you use from it
// Navigate from any component through the Core contract:
[Inject] public INavigationManager Navigation { get; set; } = default!;
Navigation.NavigateTo("/settings");
You rarely reference Core directly — it arrives transitively with the packages above.
Status
Pre-1.0 (0.x): BlazorNative is a proof of concept heading toward a
stable release. The ABI and component surface may still move between minor versions.
License: MIT · Docs: https://marcelroozekrans.github.io/BlazorNative/
| Product | Versions 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- ZeroAlloc.AsyncEvents (>= 1.1.2)
- ZeroAlloc.Inject (>= 1.7.1)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on BlazorNative.Core:
| Package | Downloads |
|---|---|
|
BlazorNative.Http
BlazorNative HTTP bridge: BridgeHttpHandler routes HttpClient traffic through the hosting native shell, so Blazor components use plain HttpClient/IHttpClientFactory on NativeAOT. |
|
|
BlazorNative.Device
BlazorNative device APIs: DI-injectable ergonomic facades (IGeolocation) over the permission-gated host-call bridge, so Blazor components request location and other device capabilities with denial delivered as data, never an exception. |
|
|
BlazorNative.Components
The public Bn* component library for BlazorNative apps: BnView, BnText, BnButton, BnInput, BnTheme and friends — sealed, AOT/trim-compatible Blazor components (authorable in .razor since Phase 7.1) targeting native widgets. |
|
|
BlazorNative.Runtime
The BlazorNative runtime: the 10 blazornative_* native exports, the host session, the binary frame/bridge wire protocol, and the BlazorNativeApp.RegisterPages registration API through which an app names its pages. NativeAOT/trim-compatible — the app owns the publish head. |
|
|
BlazorNative.Renderer
The BlazorNative renderer: drives Blazor's RenderTree diffing into a native widget tree and emits binary UI patch frames for platform shells. NativeAOT/trim-compatible. |
GitHub repositories
This package is not used by any popular GitHub repositories.