Goodbye Xamarin.Forms, Hello MAUI! | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (172).NET Core  (29).NET MAUI  (192)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (209)BoldSign  (12)DocIO  (24)Essential JS 2  (106)Essential Studio  (200)File Formats  (63)Flutter  (131)JavaScript  (219)Microsoft  (118)PDF  (80)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (882)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (49)Windows Forms  (61)WinUI  (68)WPF  (157)Xamarin  (161)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (146)Chart  (125)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (62)Development  (613)Doc  (7)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (37)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (488)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (41)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (368)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (30)Visual Studio Code  (17)Web  (577)What's new  (313)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
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.

Easily build cross-platform mobile and desktop apps with the flexible and feature-rich controls of the Syncfusion .NET MAUI platform.

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

Syncfusion .NET MAUI controls are well-documented, which helps to quickly get started and migrate your Xamarin apps.

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.

To make it easy for developers to include Syncfusion .NET MAUI controls in their projects, we have shared some working ones.

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:

Comments (16)

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
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.

Christian Garcia
Christian Garcia

In my opinion customers don’t care about the technology, they care about the product, so changing the name is irrelevant from that perspective. Ultimately the maui namespace unifies and simplifies de codebase, which is the cost of evolution.

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
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
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.

Siavash Mortazavi
Siavash Mortazavi

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

It would be great if you could provide a timeline for MAUI support as we are reaching EOS (02/2022) Xamarin Forms. Our company is looking to find a vendor that will support MAUI UI framework and we are starting poc’s soon, targeting a Q1 release of our product with .Net 6. (already in preview 3 and GA in 11/2021)

Selva Ganapathy Kathiresan
Selva Ganapathy Kathiresan

Hi Abraham Hayat,

we have planned to deliver our first set of .NET MAUI UI controls in the near future from Syncfusion, once the .NET MAUI GA release. The .NET MAUI GA will be available in November 2021. So you may expect our controls before 02/2022(as you mentioned)

https://github.com/dotnet/maui/wiki/FAQs#when-will-net-maui-be-available

Comments are closed.

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed
Scroll To Top