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 for Converge360.

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube