Following workloads are required on the system:
$ dotnet workload install wasm-tools wasm-experimental # may require sudo
Build & Run:
$ dotnet build
$ deno run --allow-read bin/Debug/net7.0/browser-wasm/AppBundle/myApp.js
Sample output:
MONO_WASM: WebAssembly resource does not have the expected content type "application/wasm", so falling back to slower ArrayBuffer instantiation.
mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
Hello from Deno!
deno version: 1.29.1
typescript version: 4.9.4
v8 version: 10.9.194.5
Hello from C# Console!