What is MAUI? and what are differences between MAUI and Xamarin

So, What happens to Xamarin.Forms?

What is Multi-platform App UI?

What is differences between MAUI and Xamarin

Where can we generate MAUI projects?

Add Comment
3 Answer(s)

With .NET 5 Microsoft begins the journey of unifying the .NET platform, bringing .NET Core and Mono/Xamarin together in one base class library (BCL) and toolchain (SDK), more about it here.

.NET MAUI as everybody already knows is a name for a new upgraded solution as a Multi-platform App UI framework for building native cross-platform apps with .NET for Android, iOS, macOS, and Windows. It is the evolution of Xamarin.Forms, built on top of it, becoming and being a new flagship .NET solution for building native cross-platform apps.

For me personally it is great that .NET team will be more focused on development of this framework with already great Xamarin.Forms team which made a huge difference and improvement to the platform in the last year or two.

For now, the GitHub repository (July 2020), is pretty much the same as XF one, all the namespaces are System.Maui, but in future things will be very different. As they promised on keynote and other sources:

  • One project targeting multiple platforms and devices
  • One location to manage resources such as fonts and images
  • Multi-targeting to organize your platform-specific code

It will also provide you support for building the apps in different modern patterns and frameworks such as:

  • MVVM
  • MVU
  • RxUI

Tools to create and develop apps with .NET MAUI are:

  • Visual Studio
  • Visual Studio for Mac
  • Visual Studio Code

Since .NET Maui will be more involved in whole .NET development tooling, there will be support added for .NET Core CLI. In other words that means we will be able to create a new project from the command line with:

dotnet new maui 

Main goals of .NET Maui are:

  • Improve app performance
  • Improve simplicity of control extensibility
  • Improve the simplicity of contributing
  • Enable developer options to use Model-View-Update (MVU) and Blazor

In last year or two Xamarin.Forms had a very frequent cycle of new releases and that will surely continue. The team will continue to work on it but also side by side .NET Maui will grow more mature and around the release with .NET 6, Xamarin.Forms will stop with features and new stuff.

After .NET Maui is fully available and ready Xamarin.Forms will continue to receive support for 12 months. More about the road map and development state of it can be found on the official GitHub page here and the whole wiki page is full of helpful info about future development.

Add Comment

MAUI is the next generation of Xamarin Forms with broader platform support. The first preview will be available in .NET 5 in Nov 2020, and the first production release will come with .NET 6 in Nov 2021.

Xamarin Forms will be supported for one year after MAUI is introduced in 2021, then will be deprecated in favor of MAUI.

Answered on July 16, 2020.
Add Comment

At this point Xamarin.Forms is a mature framework while MAUI is a blog post. That makes them hard to be objectively compared.

In general the idea for MAUI is to be a further evolution of Xamarin.Forms. Personally I don’t see anything revolutionary (and even important) announced. The main difference will be that MAUI will be a single project with multiple outputs instead of multiple projects for each platform. There should be also some improvements in managing common assets as it was usual to place assets in platform projects and not in the common project, but most of that is possible in Xamarin even now so it is hard to say whether it is some kind of improvement or just a marketing trick.

Also support for macOS should go from beta to production. Again it is hard to say whether it will be some significant boost of fairly low quality in beta or just a marketing trick.

Answered on July 16, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.