NetWasm.Templates
0.15.2
Prefix Reserved
dotnet new install NetWasm.Templates@0.15.2
NetWasm.Templates
This package contains the dotnet new templates for a
NetWasm application, a dual-target library and an HTTP service. The templates use the
NetWasm.Sdk project SDK and the net10.0-netwasm target framework.
Application templates do not copy reusable JavaScript host files. The SDK
generates the application-specific descriptors and bootstrap and stages the
selected NetWasm.Hosting modules during build and publish.
Create a JavaScript module whose [JSExport] methods run on the page or in a
Web Worker:
dotnet new netwasm-app --host page
dotnet new netwasm-app --host worker
The page variant opens the module, calls an export, and closes it; its import module writes to the DOM. The worker variant calls the generated Promise-based client, handles an application-defined progress message, and disposes the worker.
Create a worker whose contract is described by WIT instead:
dotnet new netwasm-app --worker wit
Create an HTTP service, a WASI 0.3 component whose
Handle(HttpRequestMessage) answers each request, which wasmtime serve,
Spin and wasmCloud run as published:
dotnet new netwasm-serverless
The package follows NetWasm's documented support profile. The application template restores the native host tools it needs through NuGet; the library template does not select a host package. See the repository's package-consumer quickstart.
-
net10.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.15.2 | 0 | 11/22/2026 |
| 0.15.2-preview.1 | 0 | 11/22/2026 |
| 0.15.1 | 90 | 11/21/2026 |
| 0.15.1-preview.2 | 44 | 11/21/2026 |
| 0.15.0 | 63 | 11/20/2026 |
| 0.15.0-preview.1 | 38 | 11/20/2026 |
| 0.14.2 | 141 | 11/15/2026 |
| 0.14.2-preview.2 | 58 | 11/15/2026 |
| 0.14.1 | 113 | 11/15/2026 |
| 0.14.1-preview.1 | 59 | 11/15/2026 |
| 0.14.0 | 122 | 11/14/2026 |
| 0.14.0-preview.2 | 61 | 11/14/2026 |
| 0.13.0 | 123 | 11/13/2026 |
| 0.13.0-preview.2 | 62 | 11/13/2026 |
| 0.12.2 | 104 | 11/11/2026 |
| 0.12.2-preview.1 | 60 | 11/11/2026 |
| 0.12.1 | 95 | 11/10/2026 |
| 0.12.1-preview.2 | 59 | 11/10/2026 |
| 0.12.0 | 100 | 11/10/2026 |
| 0.12.0-preview.5 | 52 | 11/10/2026 |