Running in the browser with WebAssembly
In this final section, we will try running the application in the browser with WebAssembly. Uno Platform makes it easy to do, but like Android, the compilation and deployment can take a little time. That’s because the entire application needs to run client-side within the browser. That means that in addition to deploying our application, all its dependencies (even a version of the .NET runtime) also need to be deployed.
This is one reason why the adoption of WebAssembly hasn’t been as fast as many anticipated. The first-time load performance of these apps can be sluggish at best. Uno Platform published a blog post about optimizing WebAssembly performance with Uno Platform applications. If you plan to pursue this option, you should read this post: https://platform.uno/blog/optimizing-uno-platform-webassembly-applications-for-peak-performance/.
Change the startup project to UnoMediaCollection.Wasm
and start debugging. You’...