GrapeCity
Published in

GrapeCity

What’s the Difference Between MAUI and Uno, and What Do They Mean for .NET Developers?

What is Xamarin?

What is .NET MAUI?

  1. All platforms can be managed in a single project
  2. One location to manage all assets
  3. Multi-targeting to organize platform-specific code
  4. Out-of-box support for the Model View Update (MVU) pattern
  5. Support for Blazor

What is the Uno Platform?

How Does .NET MAUI Differ From Uno?

Developer Experience

  1. .NET MAUI and Uno Platform use different flavors of XAML.
  2. Uno provides an official port of the Microsoft Community Toolkit, which is a collection of helper functions, custom controls, and app services.
  3. .NET MAUI will most likely look to the Xamarin Community Toolkit for a collection of established controls, helper functions, and services.

Creating an App Using Uno Platform

  1. Follow the Getting Started on Visual Studio guide and install the missing dependencies, including the Uno Platform Solution Template extension.
  2. Create a new project in Visual Studio.
  3. Choose the Uno Platform template.
<StackPanel>     
<TextBlock Text="{Binding Value, ElementName=slider}" Margin="20" FontSize="30" />
<Slider x:Name="slider"/>
<TextBlock Text="{Binding Text, ElementName=textbox}" Margin="20" FontSize="30" />
<TextBox x:Name="textbox"
AcceptsReturn="True"
Height="100"
Margin="10,0"
PlaceholderText="Enter Text Here" />
</StackPanel>
<TextBlock x:Uid=”Demo” Margin=”20" FontSize=”30" />

Sample MAUI (Xamarin.Forms) App

<Label     
BindingContext="{x:Reference slider}"
Text="{Binding Value}" FontSize="Title" Padding="30,10,30,10"/> <Slider x:Name="slider" Minimum="0" Maximum="360"/>
<Label
Text="{Binding Text}"
BindingContext="{x:Reference input}"
/>
<Entry x:Name="input" />

What Does This Mean for .NET Developers?

--

--

Sharing stories, concepts, and code.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
GrapeCity Developer Solutions

We provide developers with the widest range of Microsoft Visual Studio components, IDE platform development tools, and applications.