Professional Documents
Culture Documents
Project, One Codebase. It Is An Evolution Over Xamarin - Forms and Takes Code
Project, One Codebase. It Is An Evolution Over Xamarin - Forms and Takes Code
Project, One Codebase. It Is An Evolution Over Xamarin - Forms and Takes Code
When I think of the .NET ecosystem, one phrase comes to mind: Code Re-use. It's
amazing how much we can do within one .NET codebase, and this is especially
true with the introduction of .NET Core, and technologies like Xamarin (and
subsequently Xamarin.Forms).
These days, people switch between many devices throughout the day in order to
stay maximally productive. It's becoming increasingly important that the
applications we write are accessible, regardless of the devices our users are in
front of. This point makes the web very powerful, and there are many pros to
writing your application for the web browser. But, when we do this, we lose out
on the native platform controls and performance offered to us by the OS
vendors, making the application relatively unnatural to use, and to look at.
Of course, just like in Xamarin, we will have access to the underlying native
platform APIs if we need to open the hood and do some platform-specfic work.
In fact, in .NET MAUI, this process will be even easier and more streamlined.
(Image Source: Microsoft)
.NET 6 is all about developer productivity. Part of this productivity means not
being locked-in to any individual architectural patterns you might not be
comfortable with. Developers in .NET MAUI can choose to use the traditionally-
accepted MVVM architectural pattern for writing multi-platform UIs, or the MVU
(Model-View-Update) pattern which is a code-first UI experience.
• C# and .NET developers can build all kinds of apps using a single
programming language and framework. No need to learn different
programming languages, frameworks, and libraries. Same code is
compiled into libraries to target Windows, macOS, iOS, and Android.
This is big for tech teams. They don't need to learn different
programming languages and frameworks.
• Businesses don’t need to hire multiple teams for different platforms.
Also, no need to maintain multiple technologies and teams. The cost
of hiring and maintain different tech stack teams are often costly.
Imagine a startup launching a website and mobile apps for iOS and
Android. The startup needs to maintain three different teams with
different tech stacks.
What about my Xamarin projects?
In .NET MAUI, we will be using the same XAML controls we know and love from
Xamarin.Forms, and Microsoft intends to make the migration process from
Xamarin.Forms to MAUI as easy as possible. They will provide migration guides
as well as tooling to convert your existing projects.
After the release of .NET 6, the Xamarin team will release final versions of the
Xamarin SDKs as they exist today, and continue servicing these SDKs and
Xamarin.Forms for a year. After that, support will be shifted entirely to .NET
MAUI, .NET for Android, and .NET for iOS.
Conclusion
I am very excited about .NET MAUI and all the productivity it will bring. The Idea
of integrating Xamarin.Forms as a first-class technology in .NET makes sense,
and I look forward to watching this technology come to life.