BlazorNative.Templates
0.8.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install BlazorNative.Templates@0.8.0
This package contains a .NET Template Package you can call from the shell/command line.
BlazorNative.Templates
dotnet new templates for BlazorNative —
Blazor components compiled with NativeAOT and rendered as real native widgets, with no
WebView anywhere.
Install
dotnet new install BlazorNative.Templates
Use
dotnet new blazornative -n MyApp
cd MyApp
| Option | Default | What it is |
|---|---|---|
-n, --name |
BlazorNativeApp |
The app name — the csproj, the root namespace, the gradle project. |
--applicationId |
com.example.<name> |
The Android applicationId and the AGP namespace. Not the shell's Kotlin package, which stays io.blazornative.shell by design. |
--BlazorNativeVersion |
the version this pack shipped at | The BlazorNative package version the generated app references. |
What you get
MyApp/
├── MyApp.csproj the NativeAOT publish head
├── AppPages.cs your app's page manifest (declare a page ONCE, here)
├── BnStarterPage.razor the "/" page
├── _Imports.razor
├── global.json the SDK feature band the ILC host relies on
├── build/ the vendored NDK cross-compile shim (no bionic publish without it)
└── android/ a runnable Android/Gradle shell
Then:
dotnet publish . -c Release -r linux-bionic-x64 # the emulator's ABI
cd android && ./gradlew assembleDebug
The generated app's own README.md carries the full loop. The
docs site carries the rest —
getting started, the component reference, the parity contract, and the iOS story
(manual, against the reference shell — there is no iOS template).
Requirements
- .NET SDK 10.0.3xx (the generated
global.jsonpins the band) - JDK 17, an Android SDK, and NDK
26.3.11579264for the bionic publishes
License
MIT
This package has no dependencies.
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.20.0 | 0 | 10/16/2026 |
| 0.19.0 | 100 | 10/3/2026 |
| 0.18.0 | 93 | 10/3/2026 |
| 0.17.2 | 97 | 10/2/2026 |
| 0.17.1 | 97 | 10/2/2026 |
| 0.17.0 | 114 | 9/28/2026 |
| 0.16.3 | 106 | 9/25/2026 |
| 0.16.2 | 100 | 9/24/2026 |
| 0.16.1 | 107 | 9/23/2026 |
| 0.16.0 | 106 | 9/22/2026 |
| 0.15.0 | 110 | 9/22/2026 |
| 0.14.0 | 100 | 9/22/2026 |
| 0.13.1 | 117 | 9/21/2026 |
| 0.13.0 | 112 | 9/21/2026 |
| 0.12.0 | 181 | 8/22/2026 |
| 0.11.0 | 169 | 8/21/2026 |
| 0.10.0 | 162 | 8/18/2026 |
| 0.9.1 | 172 | 8/18/2026 |
| 0.8.1 | 186 | 8/7/2026 |
| 0.8.0 | 195 | 7/25/2026 |
Loading failed