Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 991
Anas Alweish Avatar asked Jul 04 '20 13:07

Anas Alweish


People also ask

Is .NET MAUI the same as Xamarin?

NET MAUI, you can develop apps that can run on Android, iOS, macOS, and Windows from a single shared code-base. . NET MAUI is open-source and is the evolution of Xamarin. Forms, extended from mobile to desktop scenarios, with UI controls rebuilt from the ground up for performance and extensibility.

Is Maui compatible with Xamarin?

NET MAUI is the next generation of Xamarin Forms, intended to allow developers to build an app once in a single Visual Studio project with a single codebase, targeting any supported device.

Is Maui faster than Xamarin forms?

Forms, including the ability to create desktop apps in addition to mobile apps. "Our goal was for . NET MAUI to be faster than its predecessor, Xamarin. Forms, and it was clear that we had some work to do in .

Is Maui the new Xamarin?

NET MAUI Finally Replaces Xamarin in Visual Studio 2022 17.3 Preview 1." So the conversion from Xamarin. Forms to . NET MAUI is basically complete. Xamarin support will continue through November 2023.

What is Maui in Xamarin?

MAUI or more accurately .NET MAUI stands for .NET Multi-platform App UI. It is a bit of a mouthful but essentially all it is is the next iteration of Xamarin… Yes, it’s Xamarin vNext, so instead of there being a Xamarin.Forms 6 we are getting .NET MAUI.

What is the difference between Xamarin and Xamarin forms?

Put another way, Xamarin is the platform and Xamarin.Forms is a feature. Like Xamarin.Forms, .NET MAUI is open source and a cross-platform framework for creating mobile and desktop apps with a single, shared codebase, written in C#. Microsoft will officially support Android, iOS, macOS (through Mac Catalyst ), and Windows.

What is Xamarin net Mui?

Using.NET MAUI, you can develop apps that can run on Android, iOS, macOS, and Windows from a single shared code-base..NET MAUI is open-source and is the evolution of Xamarin.Forms, extended from mobile to desktop scenarios, with UI controls rebuilt from the ground up for performance and extensibility.

What is the difference between Maui and net Maui?

However, there are also some differences. Using .NET MAUI, you can create multi-platform apps using a single project, but you can add platform-specific source code and resources if necessary. One of the key aims of .NET MAUI is to enable you to implement as much of your app logic and UI layout as possible in a single code-base.


Video Answer


3 Answers

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.

Also here is a nice Q&A about .NET MAUI with David Ortinau on InfoQ here.

UPDATE: On September 15, 2021:

"The .NET team has been working hard with the community in the open on its development and we are committed to its release. Unfortunately, .NET MAUI will not be ready for production with .NET 6 GA in November. We want to provide the best experience, performance, and quality on day 1 to our users and to do that, we need to slip the schedule. We are now targeting early Q2 of 2022 for .NET MAUI GA." Source: https://devblogs.microsoft.com/dotnet/update-on-dotnet-maui/

like image 122
Almir Vuk Avatar answered Oct 16 '22 20:10

Almir Vuk


UPDATE: This is the old answer which was correct at the time. MAUI is now launched. I think that the most notable difference is that MAUI is based on the latest .NET 6.

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.

like image 8
Ivan Ičin Avatar answered Oct 16 '22 20:10

Ivan Ičin


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.

BEFORE

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

like image 4
Jason Avatar answered Oct 16 '22 21:10

Jason