Running C#/F# code in Node.js or Browser with WebAssembly
MIT License
Playground for running C#/F# code in Node.js, Browsers or Native (x86/ARM).
Based on the excellent works of:
Features:
Changes vs stock DNA/Blazor:
Disclaimer:
Building:
dotnet build && npm install && npm run build
build.cmd
to build, VS Code to edit/run.Running:
Running in Node.js: npm start
Running in Browser: npm run server
to start a web server, then go to localhost:5000 (hint: look in the Console output)
Running as Native: see src/DNA/native
You can run it in VS Code, just select a debug config and hit F5.
The C#, C/C++, Ionide-fsharp, Debugger for Chrome and TSLint extensions for VS Code are highly recommended, but optional.
Further reading: