How can I compile C# to WebAssembly (simple functions to calculate things) and run it in the browser?
For further actions, you may consider blocking this person and/or reporting abuse
How can I compile C# to WebAssembly (simple functions to calculate things) and run it in the browser?
For further actions, you may consider blocking this person and/or reporting abuse
Ava Parker -
Juarez Júnior -
mohamed Tayel -
André Slupik -
Top comments (2)
Hi, Take a look at below article for more information.
codewithmukesh.com/blog/getting-st...
But how Blazor compile c# to WebAssembly? I want to take c# code that calculates things (Temperature, Weight) and compile it into WebAssembly, Then use that code with Node.js and Javascript app. See Wikipedia example: en.wikipedia.org/wiki/WebAssembly
code in C:
Same in WebAssembly: