-
Can I use any of the mentioned solutions for Balzor/WASM JS interop with the full .NET runtime (instead of mono)? Ref: https://www.youtube.com/watch?v=tAh899Gri4E As a comparison to https://github.com/microsoft/node-api-dotnet the solution in the video use WASM while the nodeAPI is more suited for electron apps? |
Beta Was this translation helpful? Give feedback.
Answered by
maraf
Aug 14, 2025
Replies: 1 comment 3 replies
-
Are you looking for Blazor Hybrid? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a significant difference in these two approaches that affects the outcome.
Running on WebAssembly means there is an abstraction (WebAssembly) between the code and the executing environment / machine. This abstraction comes with a price, but on the other hand it gives portability. Whereas
note-api-dotnet
runs in proc on Node, using all the goodness .NET core has, but it requires a native node module and (if NativeAOT is not used) a .NET runtime on the target machine. .NET on WebAssembly is a supported product with several years of usage on various applications. It is tied to Mono runtime at the moment, because Mono runtime is much more optimal for the needs connected with WebApps …