Bringing Xamarin.Forms apps to WebAssembly
If you use .NET for your development and have previously created a mobile (iOS and/or Android) app, you may have used Xamarin.Forms
. If you have mobile apps built with Xamarin.Forms
that you now want to run on WebAssembly, you may be worried that a rewrite of code is in order, but it's not.
Xamarin.Forms
can create UWP apps. Uno Platform allows UWP apps to run on other platforms. Therefore, it's possible to use the UWP app produced by Xamarin.Forms
and pass that as input for Uno Platform to use to create a Wasm app. Fortunately, and for simplicity, all the connecting of project inputs and outputs is taken care of by a provided template.
Tip
It's also possible to use Uno Platform controls within a Xamarin app. Doing so is simple, and there's a guide showing how at the following URL: https://platform.uno/docs/articles/howto-use-uno-in-xamarin-forms.html.
To show how a UWP app created by Xamarin.Forms
can be used...