Pure .NET WebAssembly backend for Hako using WACS.
dotnet add package Hako.Backend.WACSusing HakoJS;
using HakoJS.Backend.Wacs;
using var runtime = Hako.Initialize<WacsEngine>();
// Use runtime...WACS is slower than the Wasmtime backend but has the advantage of being implemented entirely in .NET. This means your application can compile and run on any target where .NET is supported, including:
- WebAssembly (WASM)
- Blazor (client-side and server-side)
- Mobile platforms (iOS, Android)
- Any other .NET runtime target
Use WACS when maximum portability is more important than raw performance.
See the main Hako documentation for complete usage and API reference.