Non-blazor WASM build? #99243
-
I currently use Uno.Wasm.Bootstrap to build a .NET WASM package that can be hosted in the browser and use JS interop features like JSImport/JSObject from the System.Runtime.InteropServices.JavaScript namespace. This is for client side logic that can be used with traditional sites, regardless of what server side UI platform/hosting/server-side is used. I'm wondering if there are plans for .NET to natively support a non-Blazor project type for building WASM packages and support for System.Runtime.InteropServices.JavaScript? Something like the wasi experimental workload Console app template, but that is hostable in JS. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Do mean something like |
Beta Was this translation helpful? Give feedback.
-
I think it would be good start to enumerate the scenarios/gaps first. Or you could write article on your blog and we could steal the ideas from it? cc @guardrex for docs guidance |
Beta Was this translation helpful? Give feedback.
Do mean something like
wasmbrowser
template fromwasm-experimental
workload?https://learn.microsoft.com/en-us/aspnet/core/client-side/dotnet-interop?view=aspnetcore-8.0