News

Open Source Uno Platform Takes Xamarin.Forms Mobile Apps to the Web via WebAssembly

The open source Uno Platform announced new integration with Xamarin.Forms that lets developers take existing XF mobile apps to the Web, using WebAssembly.

With an original focus on creating Universal Windows Platform (UWP) mobile apps, the Uno Platform is described as a UWP bridge that allows UWP-based code to run on iOS, Android and WebAssembly. It claims to be the only platform that can be used to build native mobile, desktop and WebAssembly apps with C# and XAML from a single codebase.

WebAssembly, which backs Microsoft's Blazor project, provides a low-level assembly-like language compilation target for high-level languages (like C/C++, C#, Rust) so they can be used for Web development instead of relying on JavaScript, long the dominant language for browser-based development.

The commercial steward of the open source Uno Project, nventive Inc., today (Sept. 19) announced new integration with Xamarin.Forms that provides WebAssembly renderers that enable developers to extend existing Xamarin.Forms-based apps to the Web simply by executing a single line in the Visual Studio Command Prompt.

Uno Platform
[Click on image for larger view.] Uno Platform (source: Uno Platform).

That functionality comes with today's announcement of Uno Platform 2.0. "While UWP was, and still is, our first love, with today's announcements we are keeping pace with our audience asks and we are shifting gears towards ensuring the future WinUI stack can be run everywhere -- WebAssembly, iOS, Android, and of course Windows," reads a Uno Platform blog post.

"One of the largest challenges mobile developers face is the inability to take business logic developed for their mobile-first applications to the Web," the Uno Platform team said in a news release. "Xamarin Forms had enabled thousands of C# developers to quickly develop single-codebase enterprise apps for iOS and Android, a common request at enterprises as single-codebase cross-platform apps have proven to bring savings in development and maintenance cost. Now, with the new integration of Xamarin Forms and Uno Platform, those apps can be expanded to modern browsers by executing a single line in Visual Studio Command Prompt."

In addition to the WebAssembly renderers for Xamarin.Forms, Uno Platform 2.0 includes:

  • XAML Hot Reload for Uno Platform preview
  • Support for SkiaSharp.Extended for WebAssembly
  • UI testing
  • Dozens of performance, stability and usability features
  • Uno Platform user group support program

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • VS Code 1.127 Further Integrates Advanced Browser-AI Tech

    Microsoft's July 1 Visual Studio Code update continues a recent push to make the editor's integrated browser a more capable development surface -- and a more useful tool for AI agents.

  • Support Vector Regression with SGD Training Using C#

    Support vector regression can predict numeric values effectively, and this article shows how to implement and train a kernel SVR model in C# using stochastic sub-gradient descent.

  • New GitHub Switch Limits Repo Issue Creation to Collaborators Only

    After publicly touting pull request limits as a way to cut maintainer noise, GitHub is taking the same idea further with a new setting that lets repository admins restrict issue creation to collaborators only.

  • Uno Platform Helps Ship First Stable SkiaSharp 4.0 Release for 2D .NET Graphics

    SkiaSharp 4.148.0 is the first stable v4 release, bringing a newer Skia engine, API cleanup, performance work and a Microsoft-Uno co-maintenance model.

Subscribe on YouTube