Microsoft’s evolution of Xamarin.Forms, .NET Multi-platform App UI (.NET MAUI), has finally reached General Availability status, providing one framework for both mobile apps and, now, desktop apps.
Announced at the company’s big Build developer conference, the GA release is some six months late, as it was originally planned to debut with .NET 6 in November 2021 but “slipped the schedule.” So the dev team has been playing catch up with a series of previews and three Release Candidates, the latter just shipping a couple weeks ago. With this the conversion from Xamarin.Forms to .NET MAUI is basically complete. Xamarin support will continue through November 2023.
“.NET Multi-platform App UI (.NET MAUI), now generally available, is a new framework for building modern, multi-platform, natively compiled apps for iOS, Android, macOS and Windows using C# and XAML in a single codebase,” Microsoft said. “The framework solves the challenges developers face when building native apps across many operating systems. Instead of having to learn multiple technology stacks, .NET MAUI abstracts them into one common framework built on .NET 6.”
As a jack-of-all-trades tool (except for Linux and web), .NET MAUI uses native UI via app toolkits provided by each platform, and the dev team ships workloads to create applications that exclusively target Android, Android Wear, CarPlay, iOS, macOS, and tvOS directly using the native toolkits from .NET, and the supporting libraries AndroidX, Facebook, Firebase, Google Play Services and SkiaSharp, for examples.
“Native apps look and feel like the operating system on which they belong by default and layouts are fully adapted to each device automatically, with no additional code,” Microsoft said this week. “APIs are available directly from C# to access over 60 platform features, including isolated storage, sensors, geolocation and camera. Visual Studio 2022 includes Hot Reload technology to make developers much more productive building .NET MAUI apps. Developers can also take advantage of the latest debugging, IntelliSense and testing features of Visual Studio to write better code faster.”