NwUi.Templates
0.18.0
dotnet new install NwUi.Templates@0.18.0
This package contains a .NET Template Package you can call from the shell/command line.
NwUi.Templates
dotnet new templates for NetWasm.UI.
dotnet new install NwUi.Templates
dotnet new netwasm-ui -o MyApp
cd MyApp
dotnet tool restore
dotnet nwui-dev # http://localhost:8765, rebuild + reload on save
dotnet run also works (NetWasm.Sdk's built-in server on http://localhost:5080), but it has no
SPA fallback: reloading a deep link such as /counter returns 404 there.
Hosted in ASP.NET Core
dotnet new netwasm-ui-hosted -o MyApp
cd MyApp
dotnet watch --project MyApp.Server --no-hot-reload # or: dotnet run --project MyApp.Server
This template needs the .NET 11 SDK. It creates three projects:
MyApp.Client: the NetWasm.UI app, with Home, Counter and Weather pages.MyApp.Server: ASP.NET Core with the/api/weatherforecastAPI. It serves the client on the same origin, prerenders each route and live-reloads in development.MyApp.Shared: types shared by both projects.
Component library
dotnet new netwasm-ui-lib -o MyUi
cd MyUi
dotnet test
dotnet pack MyUi -c Release
It creates two projects:
MyUi: anetstandard2.1library with a headlessDisclosurecomponent. Apps reference it as a project or as the packagedotnet packbuilds.MyUi.Tests: xUnit tests that render the component withNwUi.Testing, without a browser.
-
.NETStandard 2.0
- 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.18.0 | 86 | 12/1/2026 |
| 0.17.0 | 98 | 11/25/2026 |
| 0.16.0 | 115 | 11/23/2026 |
| 0.15.1 | 115 | 11/19/2026 |
| 0.15.0 | 103 | 11/19/2026 |
| 0.14.0 | 111 | 11/17/2026 |
| 0.13.0 | 110 | 11/17/2026 |
| 0.12.0 | 103 | 11/17/2026 |
| 0.11.0 | 114 | 11/16/2026 |
| 0.10.0 | 122 | 11/15/2026 |
| 0.9.0 | 117 | 11/13/2026 |
| 0.8.0 | 118 | 11/13/2026 |
| 0.7.0 | 115 | 11/13/2026 |
| 0.6.0 | 121 | 11/12/2026 |
| 0.5.0 | 134 | 11/7/2026 |
| 0.4.0 | 128 | 11/4/2026 |
| 0.3.0 | 132 | 11/4/2026 |
| 0.2.0 | 126 | 11/4/2026 |
| 0.1.0 | 128 | 11/3/2026 |