A sample that runs .NET code as WebAssembly in the browser with Mono.WebAssembly.Sdk.
It shows how to compile C# to WASM and run it without a plugin. See the article WasmSample: .NET on WebAssembly with Mono.WebAssembly.Sdk.
- A Shell project and a WASM project.
- A build with
build.shandscripts. - The Mono runtime running in the browser as WASM.
Clone the repo. Run the build script. Open the result in the browser.
I added WASM support for IL opcodes (neg, not, switch, throw, nop) in dotnet/corert in 2017.