Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (143).NET Core  (22)Angular  (38)ASP.NET  (47)ASP.NET Core  (52)ASP.NET MVC  (83)Azure  (26)Blazor  (44)DocIO  (18)Essential JS 2  (64)Essential Studio  (159)Flutter  (46)JavaScript  (133)Microsoft  (96)PDF  (47)React  (29)Succinctly series  (118)Syncfusion  (382)TypeScript  (30)Uno Platform  (2)UWP  (4)Vue  (25)Webinar  (13)Windows Forms  (52)WPF  (85)Xamarin  (104)XlsIO  (20)Other CategoriesBarcode  (4)BI  (29)Bold BI  (3)Build conference  (6)Business intelligence  (53)Button  (4)C#  (97)Chart  (38)Cloud  (8)Company  (445)Dashboard  (4)Data Science  (3)Data Validation  (2)DataGrid  (27)Development  (232)Doc  (7)eBook  (89)Enterprise  (22)Entity Framework  (4)Essential Tools  (14)Excel  (11)Extensions  (6)File Manager  (3)Gantt  (6)Gauge  (4)Git  (3)Grid  (24)HTML  (8)Installer  (1)Knockout  (2)LINQPad  (1)Linux  (1)M-Commerce  (1)Metro Studio  (11)Mobile  (133)Mobile MVC  (9)OLAP server  (1)Orubase  (12)Partners  (20)PDF viewer  (15)Performance  (1)PHP  (1)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (5)Road Map  (9)Scheduler  (13)SfDataGrid  (7)Silverlight  (21)Sneak Peek  (12)Solution Services  (2)Spreadsheet  (2)SQL  (3)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (8)Tips and Tricks  (12)UI  (55)Uncategorized  (68)Unix  (2)User interface  (42)Visual State Manager  (1)Visual Studio  (12)Visual Studio Code  (6)Web  (84)What's new  (53)Windows 8  (19)Windows App  (1)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Share on twitter
Share on facebook
Share on linkedin
Goodbye Xamarin.Forms, Hello MAUI!

Goodbye Xamarin.Forms, Hello MAUI!

The following post was written by guest blogger Vicente G. Guzmán Lucio,

From May 19 to 21, Microsoft held its Build 2020 conference, its biggest development event of the year. Due to the ongoing COVID-19 pandemic however, the conference was carried out online. It should be noted that this is the first time Microsoft has held a conference of this size remotely, and believe me, it was formidable.

Microsoft Build
Source: Microsoft

From day one, the event held some very interesting announcements, and I wanted to share what I personally think is the most important: Xamarin’s evolution to MAUI.

Time travel…

Let’s go back a bit in time first, just before the Xamarin Evolve conference in 2016, where it was announced that Microsoft acquired Xamarin. This was a huge step forward for the Xamarin brand, but it also left the question of how Microsoft would adopt the platform. They promised at the time that the name would remain the same and to this day, Microsoft has done an excellent job of incorporating the people and tools of Xamarin into its ecosystem.
Xamarin and Microsoft

On the first day of Build 2020, Microsoft announced another step forward in its “journey to a single .NET,” wherein the goal is for .NET to be a framework with all the tools that developers need to create incredible software for all platforms. That step was .NET Multi-platform App UI, or MAUI.

What is Multi-platform App UI?

MAUI is essentially the next evolution of Xamarin.Forms. It is a framework that will allow us to create native user interfaces for desktop and mobile devices, and the most surprising thing about this is that it has a single code base and a single project. In other words, no more different heads for each mobile OS (iOS and Android)! Alongside MVVM, MAUI will also support The Elm Architecture popularly known as the MVU (Model View Update) design pattern. MVU encourages a code-first development experience that rapidly updates the UI.

Microsoft understands the power of the MVU pattern and has introduced a new unified way to build cross-platform native front ends from a single code base. MVU allows us to write UI code and logic in C# as shown below:

readonly State count = 0;
 
[Body]
View body() => new StackLayout
{
    new Label("Welcome to .NET MAUI!"),
    new Button(
        () => $"You clicked {count} times.",
        () => count.Value ++)
    )
};

.NET provides a single stack that supports all modern workloads: Android, iOS, macOS, and Windows. The .NET namespaces will also be updated: Xamarin.Forms will be replaced by System.Maui, and Xamarin.Essentials will be going into System.Device, completing the most important set of tools for mobile .NET developers.

  • System.Maui: The next evolution of what is found in Xamarin.Forms today.
  • System.Devices: The next evolution of what is found in Xamarin.Essentials today.
Introducing .NET Multi-platform App UI
Source: Microsoft

Where can we generate MAUI projects?

Microsoft indicated that Visual Studio for Windows, Visual Studio for macOS, and Visual Studio Code can be used to create projects that work with MAUI. Support for the .NET CLI will also be added to the .NET Core CLI, which means you will be able to start a project with a simple command:

dotnet new maui

 Simplified development

With the arrival of MAUI, we will have a single project. We can also choose deployment between different devices or emulators even if we have a single project. But what about application resources like images? The tooling will manage shared sources on each platform as well as the management and creation of images adapted to each platform. 

MAUI: Cross-platform development, Simplified
Source: Microsoft

Where does Xamarin.Native (Xamarin.iOS and Xamarin.Android) development stop?

Both Xamarin.iOS and Xamarin.Android will be incorporated into the .NET 6 platform and will be renamed to .NET for iOS and .NET for Android, respectively. They’ll also get CLI support, making development even faster.

When will MAUI be available?

Unfortunately, we will have to wait until the release of .NET 6, which is scheduled for November 2021 (previews will be available later in 2020), so we have to be patient before we can play with these new toys.

Personally, I am very anxious for these next steps, though a little sad because we are moving away from the Xamarin name. Although we already survived the Monodroid/MonoTouch branding, I think MAUI sounds good. In addition to this, we know that there will be some difficult times ahead, such as namespace updates, Xamarin.Forms updates, and of course, name changes for the Xamarin Meetup groups. If I’m completely honest, upon hearing the new name, I think that many of us will link it with the character from the Disney movie Moana.

.NET Robot Surfing by Microsoft
Source: .NET Robot Surfing by Microsoft

So, what happens to Xamarin.Forms?

Xamarin.Forms will continue to evolve and improve in versions 4.7, 4.8, etc. until the release of MAUI with .NET 6. After that, Xamarin.Forms will continue to receive support for 12 months.

Road map

So far, the following information is available on the MAUI road map:

  • MAUI will feature previews from Q4 2020 through Q3 2021.
  • MAUI release candidate in September 2021.
  • MAUI general availability in November 2021.

Conclusion

MAUI is a renewed Xamarin.Forms with similar characteristics but greater features. The structure of Xamarin.Native (Xamarin.iOS and Xamarin.Android) will not change, only the name in .NET 6 will. Xamarin.Native will also have to adapt to a new range of libraries mainly from binding classes. I bet that the performance and easy implementation of UI with MAUI is already wreaking havoc on the Flutter development team.

These are all great changes, but the word Xamarin is doomed to disappear.

Finally, what do you think about this change? Is Microsoft moving in the right direction? Let me know your opinion in the comments below.

More information:

Note:MAUI is open source, so we can easily follow the progress of development in its GitHub repository.

Syncfusion has 150+ Xamarin UI controls and 100+ Xamarin UI templates to make developing Xamarin applications faster. You can explore our AndroidiOS, and UWP demo Xamarin apps; learn about our Xamarin controls’ advanced features in our documentation; and even get your hands on a 30-day free trial of all our Xamarin UI controls.

If you like this blog, we think you will also love the following resources:

 

Tags:

Share this post:

Share on twitter
Share on facebook
Share on linkedin

Comments (13)

First time hearing about Maui! Good article that’s sure to get discussion about it going.

Great article ,showing the the future for the xamarin developers

Very nice article, m excited to use this.

SANDEEP BALKISAN JAKHOTYA

Expect Microsoft to use Same set of Toolbox Controls Across Apps for Windows Forms, WPF, Web, Mobile (Android, iOs) having Same set of Control Names, Properties, Methods which is confusing right now.

Changing the name is disappointing… customers are used to Xamarin brand or native languages development. At this point might be better using Native languages rather than a new brand that customers do not know.

share code base, UI already a mess sometime across mobile device…
MAUI cross platform to both mobile and desktop, I think it will spend much time to resolve many unexpected error.

I bet that the performance and easy implementation of UI with MAUI is already wreaking havoc on the Flutter development team.

– bold statement, taking into consideration how Xamarin.Forms is slow compared to Flutter.

Is syncfusion has the plan to support the Maui

Selva Ganapathy Kathiresan

We planning for the MAUI, But we will confirm our plan once the Preview edition of MAUI is released.

Same question from me…Is syncfusion has the plan to support the Maui

Selva Ganapathy Kathiresan

The question is addressed. and that is we planning for the MAUI, But we will confirm our plan once the Preview edition of MAUI is released.

A quick question please: Will Maui ver 1.0 be as mature and feature-complete as the current version of Xamarin? It is almost explained in “Transitioning from Xamarin.Forms to .NET MAUI” section, but we all remember that a mature .NET Framework app could not be converted to a .NET Core 1.0 app, because .NET Core was a re-write and it took quite some time to catch up with all the features.
Is this the same situation with MAUI?
I’m so excited about this, and thank you very much! 😎

The thing that generates the most optimism for me, is the unification of .NET 6… if .NET can unify and simplify… that is to say the core foundation everything is built on is unified and simplified, in both features and cross platform ability, then all the tools build on top of .NET 6 will also be able to simplify and solidify. As a result we as developer should improve a great deal. MAUI is exciting for sure, but it really is an exciting result of what we can now build and simplify based on the improvements and major unification of .NET 6

Leave a comment

Popular Now

Be the first to get updates

Subscribe RSS feed
Scroll To Top