WebAssembly Support
See original GitHub issueWebAssembly native dependencies are supported as of .NET 6 - talk demonstrating the capability
It would be great if nsec
could link libsodium in WebAssembly so that the package would work in Blazor!
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:9 (1 by maintainers)
Top Results From Across the Web
WebAssembly | Can I use... Support tables for HTML5 ...
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >WebAssembly
Developer reference documentation for Wasm can be found on MDN's WebAssembly pages. The open standards for ... WebAssembly also supports non-web embeddings.
Read more >WebAssembly - MDN Web Docs - Mozilla
Chrome Edge
WebAssembly Full support. Chrome57. Toggle history Full support. Edge16. To...
CompileError Full support. Chrome57. Toggle history Full support. Edge16. To...
CompileError() constructor Full support....
Read more >Cross Browser Compatibility Score of WebAssembly
WebAssembly on Android Browser is fully supported on 97-111, partially supported on None of the versions, and not supported on 2.1-4 Android Browser...
Read more >WebAssembly - Wikipedia
WebAssembly is supported on desktops, and mobile, but on the latter, in practice (for non-small memory allocations, such as with Unity game engine)...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The project I’m working to support Blazor WASM is available as a nuget package, now.
https://www.nuget.org/packages/BlazorSodium
Version 0.1.1-alpha supports:
There are many functions remaining to add support for: https://github.com/jedisct1/libsodium.js/tree/master/wrapper/symbols
I intend to add support for everything, but it will take some time. Please reach out with any feedback.
It seems there is no straight forward way to add WebAssembly support to NSec due to the dependency on libsodium. BlazorSodium looks quite promising, so I hope that this can fill the gap for now.
I’ll close this issue, though I’d be happy to add WebAssembly support to NSec if someone manages to get it to work (e.g., using a future .NET version).