The C# toolchain for WebAssembly is pretty good. You can do a lot with Avalonia and Uno:
https://avaloniaui.net/
https://platform.uno/
Here's a C# clone of Visual Basic compiled to WebAssembly:
https://bandysc.github.io/AvaloniaVisualBasic6/