-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State of WASM/WASI support in Net 9 #113858
Comments
@jogibear9988 Thank you reaching out! There is a tutorial https://learn.microsoft.com/en-us/aspnet/core/client-side/dotnet-interop?view=aspnetcore-9.0. There is one app in the runtime repository then we use for testing https://github.com/dotnet/runtime/tree/main/src/mono/wasm/testassets/WasmBasicTestApp/App. You can try to find others on github then are the same template (SDK in fact) https://github.com/search?q=Sdk%3D%22Microsoft.NET.Sdk.WebAssembly%22&type=code. Let us know if you more questions. |
What does Also I would encourage you to migrate to Microsoft.NET.Sdk.WebAssembly (see the wasmbrowser template in .NET9+) |
After changeing Sdk Type to Microsoft.NET.Sdk.WebAssembly it compiles... |
I've a C# Library I want to consume from a Javascript App (no Blazor).
I now tried to find, how to compile to WASM/WASI with Net 9, but I only find outdated Tutorials wich do not work.
Whats the state of support? Are the samples?
found:
https://devblogs.microsoft.com/dotnet/use-net-7-from-any-javascript-app-in-net-7/
https://github.com/dotnet/dotnet-wasi-sdk
https://devblogs.microsoft.com/dotnet/extending-web-assembly-to-the-cloud/
but everything is old and does not seem to work.
The text was updated successfully, but these errors were encountered: