11,267 votesKen commented
My favorite solution would be to:
1. Have .NET Core 3.0 working in WebAssembly, excluding the subsets that need system services like File IO.
2. Complete open source WPF so that the DirectX layer can be replaced with WebGL or OpenGL equivalents.