Desktop

50 Reasons to Use Uno Platform for Your Next Project

Looking to expedite the cross platform development process? Uno Platform offers this and much, much more. In fact, here are 50 reasons why exactly you should use it for your next development project.   It is Open Source and Free – under Apache 2.0   It is mature and battle-tested on hundreds of apps built over the past 6 years  It can help port code from 20 years ago to iOS, Android and Web – like we did with the Windows Calculator  It allows you to leverage your existing C# and XAML skill set to build apps for iOS, Android and Web  One codebase – 4 different platforms – need we say more? (iOS, Android, Windows, WebAssembly)   It supports Progressive Web Apps (PWA)  It is professionally supported – if you require professional support  It gives back to the community – not only the code but it supports other OSS projects, user groups and conferences  You can make a gradient brush  Never write Objective-C again  Reuse your favorite MVVM pattern on all platforms  XAML for UI is a mature & well documented technology – you’ll always find an example suiting your needs  Start developing your app before knowing which platform you’ll need to target  Reduce the pressure on your designers

Announcing Uno Platform 2.0

When we initially open sourced Uno Framework at //build 2018, we took a big step in showing the world what we had been internally working on for nearly five years. The year was 2018 and we were still doing mostly mobile work via UWP.  During those days, you saw us fly the #UWPEverywhere banner proudly. A lot has changed since then in the .NET ecosystem, in WebAssembly world, as well as in scenarios our community had been asking us to cover. 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, making room for our new northern light – #WinUIEverywhere!!!  In practice, what does that mean? Announcing XAML Hot Reload for Uno Platform Preview The inner loop for developing with Uno gives you the ability to use XAML Hot Reload in Visual Studio for Windows, allowing you to go to 95% of your app’s development. You generally need to finalize your application’s testing using the actual app environment, on device or in a browser.  The ability to Hot Reload XAML from Visual Studio while the app is running, will give for the ability to update the

Uno Platform Announces Version 2.0 of Cross-Platform Development Platform

New Integration with Xamarin Forms enables software developers to extend their existing Xamarin Forms apps to the Web via WebAssembly and Mono. Montreal, Canada – September 19, 2019 – Uno Platform , an open source platform for building cross-platform Web, Mobile and Desktop applications today announced integration with Xamarin Forms which enables software developers to extend their existing Xamarin Forms-based apps to the Web via WebAssembly. Developers have free access to this latest integration via the Open Source GitHub repository for Uno Platform. The integration was announced in a keynote presentation at the Uno Platform premier developer conference in Montreal, UnoConf. UnoConf featured speakers from Microsoft MVP Community such as Billy Hollis and Rocky Lhotka, as well as Microsoft’s Miguel de Icaza and Michael Hawker. One of the largest challenges mobile developers face is the inability to take business logic developed for their mobile-first applications to the Web. 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

A Piece of Windows 10 is now running on WebAssembly, Natively on iOS and Android

A few months ago, Microsoft open sourced the Windows Calculator, the very Calculator that ships with Windows 10. We decided to port it to C# and the Uno Platform, so that iOS and Android users could use it, but also use it from the Web using WebAssembly. Why – well that’s what we at Uno Platform do ? – enable the same C# and XAML code to run on the Web, Mobile and Desktop.   You can use it today on: Apple App Store Android Play Store WebAssembly: https://calculator.platform.uno Windows 10 – well, just open it on Windows 10 ? Anatomy of the Windows Calculator The Windows Calculator is an interesting and not-so-simple piece of software. The simple initial UI you see upon launch can be deceiving. Of course, that is a good UX choice Microsoft made as most uses of the calculator are rather simple ones. However, the calculator is complex both in the way it was coded over the years, as well as the advanced functions it has. First, it’s built entirely using standard C++ 11 and C++/CX, with a calculation engine that dates back from 1995. Historically, parts of the C++ code were actually built in C. Second, the calculator contains features such as:

Talkin’ ‘bout my generation: How the Uno Platform generates code, part 1 — Under The hood

In previous articles, we’ve covered how the Uno Platform takes a visual tree defined in the XAML markup language and creates it on iOS, Android, and WebAssembly. In this article I want to dive into a key intermediate step: how the XAML is parsed and mapped to generated C# code. In part 2, we will look at a few other ways in which Uno leverages code generation to make the wheels turn.

Under the Hood: an Introduction to Uno Platform

By now you may have heard about Uno. In this post series, I want to lay bare Uno’s technical innards. We’ll look at the critical code that powers the platform, and chart the ups and downs of building a UI platform. First, let’s get the lay of the land. The Uno Stack Uno is a cross-platform UI framework. You write an app in C# and UWP-flavoured XAML markup. It runs on Windows because it’s a UWP app. With Uno, it runs on Android, iOS, and (for the brave) in the browser via WebAssembly as well. I drew a neat sketch of the tech stack. On iOS and Android, Uno uses Xamarin to access the platform’s native framework. In the web version, it’s running directly on top of Mono, which in turn is running on top of WebAssembly. So what’s Uno doing? There are a few things that need to be done to get your app running: -At compile time, Uno parses XAML files into C# code, creating the information needed to build the app’s visual tree; -It implements a complete DataBinding engine, optimized for static type-checking where possible; -It implements the views and controls in the UWP framework, using each platform’s native UI framework as a basis. Each of those items warrants