I'm not advocating anybody do that, but it's a fun experiment to think about. I've been intrigued about WebAssembly more than ever when I read a comment here on HN that the specs very generic allowing it to be used even outside the web.
Which makes it a good demonstration of both technologies.
Kind of like using Google translate to go from English -> Something -> English. In theory a perfect translation would give you back your original input exactly.
Of course this should be more feasible with programming languages than with human languages.
Actually, Blazor is a compilation of the C# runtime (CLR) to webassembly, and a mechanism for downloading standard C# dll assemblies to the browser to execute there. The C# code is compiled normally; it doesn't know/care that the CLR is running in a browser rather than on a Windows desktop.
This software (Wasmtime) allows you to run webassembly code from within .net.