DEV Community

Cover image for Uno Platform is the revolution πŸ›Έ
Domenico Tenace for This is Learning

Posted on • Originally published at Medium

Uno Platform is the revolution πŸ›Έ

Overview

Hello everyone πŸ‘‹
In this article I mentioned Uno Platform as an Open Source project that you should know.
Well, because today I will talk about it in this article: I will expose what is Uno Platform, its features and why use it πŸ‘Ύ
Let's start! πŸ€™


First: what is Uno Platform? πŸ€”

Uno Platform is an open source project that allow you to create single-codebase, cross-platform applications that run on iOS, Android, Web, macOS, Linux and Windows. You'll be creating cross-platform .NET applications with XAML and/or C# in no time 🫨
This is the official website:

Uno Platform: Build Cross-Platform .NET Apps Faster

Build modern, responsive apps for Web, Mobile, and Desktop using C# and XAML. Leverage your existing .NET skills to build cross-platform applications efficiently.

favicon platform.uno

How cool is it to have your own available for each type of device with a single base code? That's the dream πŸ‘‘

That's a dream

Why Uno Platform? πŸ‘

Uno Platform is absolutely, for .NET developers, can be a great choice for new projects for several reasons:

  • Write once, run anywhere: you can use C# for business logic and XAML for UI for build your applications πŸ‘‘
  • Native compilation: compile for any platforms including iOS, Android, Windows, macOS and Linux πŸ‘¨πŸ»β€πŸ’»
  • WebAssembly support: without plugins for browser deployment 🀳🏻
  • No JavaScript required: for web development, JavaScript is not required 🀘
  • Works with your favourite editor: Uno Platform is available for Visual Studio 2022, VS Code and Rider πŸš΄πŸ»β€β™‚οΈ

Getting started with Uno Platform ⚑️

First, you can use the online Live Wizard for creating your project

Wizard-One

Second step is choosing your configuration, for example the version of .NET (now are available 8 and 9 in preview), platforms (Android, Windows, ecc), unit testing, ecc

Wizard-Two

Last but not least, press create button and will create a .NET command for create project from CLI

Wizard-Three

With this command you can create a new Uno Platform project from scratch with the settings chosen previously.
Although this is a method valid for every text editor (VSCode in primis), there are also other ways to create a new project, and they are specific for Visual Studio and Rider 🐎

What knowledge do you need? 🦧

This framework is aimed at developers. NET primarily to facilitate cross-platform development, for this reason, the C# language and the XAML markup language are required as basic knowledge.
If familiar with WPF, UWP or Xamarin, Uno Platform is many easy to get started from scratch 🐞

Development Experience πŸš€

This is the focal point: the development experience.

  • Hot Reload: this is insane, you can modify the XAML and C# of your running application, in order to iterate faster on UI or code changes: the development will be faster and more enjoyable.

  • Shared codebase: I’ve also talked about it above, with Uno Platform you can use a single code base for all platforms: write once, run everywhere.

  • Debugging across platforms: three editor provide Uno Platform support, VSCode, Visual Studio and Rider.
    For all three, you can debug for any type of platform (Desktop, Mobile, etc).

  • Figma code generation: using the Uno Platform Figma Plugin, it is possible to visualize how the application will render and to export actual XAML.

There are many other points to consider, but these are the most important and make this product something special πŸ’‘

Community & Support 🌍

Uno Platform is a big open source project with a large and active community.
It is subject to monthly releases, so it’s always up-to-date and also provides commercial support for companies that use Uno Platform to develop their products.
Also Uno Platform has:

GitHub logo unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!

Pixel-Perfect. Multi-Platform. C# & Windows XAML. Today.

NuGet Azure DevOps NuGet Downloads GitHub Stars All Contributors X/Twitter Followers Uno Platform Discord Open Uno in Gitpod PRs Welcome

What is the Uno Platform?

The Uno Platform is an Open-source platform for building single codebase native mobile, web, desktop, and embedded apps quickly.

It allows C# and WinUI XAML and/or C# code to run on all target platforms while allowing you control of every pixel. It comes with support for Fluent, Material, and Cupertino design systems out of the box. Uno Platform implements a growing number of the WinRT and WinUI APIs, such as Microsoft.UI.Xaml, to enable WinUI applications to run on all platforms with native performance.

Use the WinUI tooling from Windows in Visual Studio, such as XAML Hot Reload and C# Hot Reload, build your application as much as possible on Windows, then validate that your application runs on iOS, Android, macOS, and WebAssembly.

Visit our documentation for more details.

Getting Started

See the complete Getting Started…


Conclusion

Uno Platform is a fantastic open source project that allows the development of cross-platform products, using only one code base.
Write once, run everywhere.
If you want to know more, visit this link and you will find many tips on Uno Platform.
Happy coding!✨


HiπŸ‘‹πŸ»
My name is Domenico, software developer passionate of Vue.js framework, I write article about it for share my knowledge and experience.
Don't forget to visit my Linktree to discover my projects 🫰🏻

Linktree: https://linktr.ee/domenicotenace

Follow me on dev.to for other articles πŸ‘‡πŸ»

If you like my content or want to support my work on GitHub, you can support me with a very small donation.
I would be grateful πŸ₯Ή

Buy Me A Coffee

Top comments (1)

Collapse
 
mbreveglieri profile image
Marco Breveglieri

Thanks to the FireMonkey library (embarcadero.com/products/rad-studi...), a.k.a. FMX, all these things were achievable since 2012 in Delphi, with a lot more components and options (400+), a visual designer and a full fledged RAD IDE. πŸ’ͺ😊