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.
".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."
.NET MAUI promises native UI constructs that look and behave appropriately according to the underlying platform. For the brand-new Windows support, for example, .NET MAUI uses the WinUI 3 native UI components that come with the Windows App SDK (formerly Project Reunion).
As a jack-of-all-trades tool (well, 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."
New Build your first app documentation is available for .NET MAUI, also detailing how to migrate from Xamarin.Forms.
As a Current release, the .NET MAUI workload is fully supported under that scheme's release schedule of 18 months, and it will be serviced at the same monthly cadence as .NET.
"For the next phase, the foundation is now established for the broader .NET ecosystem to bring plugins, libraries, and services from .NET Framework and the old project system to .NET 6 and SDK style projects," Microsoft said.
Thanks, for reading the blog, I hope it helps you. Please share this link on your social media accounts so that others can read our valuable content. Share your queries with our expert team and get Free Expert Advice for Your Business today.
Hire me on Linkedin