Blazor Toast Notifications Using Only C#, HTML and CSS
codedaze.io
codedaze.io
(Just go over to https://blazor.net/community.html, pick a demo and fire up your web inspector of choice)
For this to be practical, it needs a lot of trimming down, and I'm not sure how viable it is to do AOT and go through all the assemblies to do branch pruning before generating a cut-down WASM.
I do see a lot of appeal for enterprise scenarios and code reuse, and I guess there is a lot of potential there.
Companies will want to use their existing code-bases to make better SaaS offerings, Unity and Epic are already leveraging their C++ and C# engines.
I don't think too many people will start throwing new projects in the Web that are based on C#, Java or Go, 99% will be existing projects.
Probably Rust will make this race. It's more modern, no GC, almost C like performance and pushed by Mozilla who is THE company with the most Web know-how.
First it will eat the libraries and if they can flatten out the learning curve a bit, probably even the rest of the stack.
I am sure that the .NET Core team is not going to rest on their laurels with this technology; usually they are pretty good at optimizing stuff. Right now, it's only a proof of concept that's still in beta.
https://radiopublic.com/hanselminutes-fresh-talk-and-tec-Wzn...
One of the things that surprised me is that Blazor doesn't compile the app code to WASM; it actually runs a WASM build of the CLR in the browser, which is used to interpret regular .NET DLLs sent from the server.
In the future, .NET Native or CoreRT will target WebAssembly as well, the work for it is already ongoing.
I also have my doubts but more regards performance of a shared WebAssembly GC in regards to different runtimes.