BlazorNative.Http
0.5.0
See the version list below for details.
dotnet add package BlazorNative.Http --version 0.5.0
NuGet\Install-Package BlazorNative.Http -Version 0.5.0
<PackageReference Include="BlazorNative.Http" Version="0.5.0" />
<PackageVersion Include="BlazorNative.Http" Version="0.5.0" />
<PackageReference Include="BlazorNative.Http" />
paket add BlazorNative.Http --version 0.5.0
#r "nuget: BlazorNative.Http, 0.5.0"
#:package BlazorNative.Http@0.5.0
#addin nuget:?package=BlazorNative.Http&version=0.5.0
#tool nuget:?package=BlazorNative.Http&version=0.5.0
BlazorNative.Http
The BlazorNative HTTP bridge:
BridgeHttpHandler routes HttpClient traffic through the hosting native shell's
fetch bridge, so Blazor components use plain HttpClient/IHttpClientFactory on
NativeAOT while the shell owns the platform networking stack, permissions, and
proxy rules.
Where it sits
Your app → BlazorNative.Components → BlazorNative.Renderer →
BlazorNative.Runtime → the native shells. Http is the bridge handler alongside
that stack: the shell owns the sockets, your components own the requests.
What you use from it
// Components just take HttpClient — the bridge handler is wired underneath:
[Inject] public HttpClient Http { get; set; } = default!;
var todos = await Http.GetFromJsonAsync<Todo[]>("https://example.com/api/todos");
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
- BlazorNative.Core (>= 0.5.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- ZeroAlloc.Inject (>= 1.7.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on BlazorNative.Http:
| Package | Downloads |
|---|---|
|
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.