NetWasm.Templates 0.16.0

Prefix Reserved
dotnet new install NetWasm.Templates@0.16.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

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.16.0 53 11/29/2026
0.16.0-preview.1 51 11/29/2026
0.15.2 160 11/22/2026
0.15.2-preview.1 63 11/22/2026
0.15.1 144 11/21/2026
0.15.1-preview.2 59 11/21/2026
0.15.0 110 11/20/2026
0.15.0-preview.1 56 11/20/2026
0.14.2 153 11/15/2026
0.14.2-preview.2 73 11/15/2026
0.14.1 130 11/15/2026
0.14.1-preview.1 72 11/15/2026
0.14.0 133 11/14/2026
0.14.0-preview.2 76 11/14/2026
0.13.0 141 11/13/2026
0.13.0-preview.2 78 11/13/2026
0.12.2 117 11/11/2026
0.12.2-preview.1 73 11/11/2026
0.12.1 111 11/10/2026
0.12.1-preview.2 75 11/10/2026
Loading failed