Microsoft has unveiled .NET Multi-platform App UI, aka .NET MAUI, a UI framework for constructing cross-platform purposes on Microsoft .NET 6. .NET 6 is because of arrive in a preview in November and turn out to be typically out there in 2021.
Introduced on the Microsoft Build developer convention on May 19, .NET MAUI is an evolution of the Xamarin.Forms toolkit for constructing native UIs for Windows, iOS, and Android from a single codebase. MAUI provides MacOS assist to the combination. It may also assist new gadgets such because the Microsoft Surface Duo.
.NET MAUI works with the Visual Studio IDE or the Visual Studio Code editor. A single stack helps workloads on the completely different platforms, with the native options and UI controls of every platform supported through a cross-platform API. A GitHub repo has been arrange for .NET MAUI.
Other options of .NET MAUI:
- Project construction is simplified right into a single mission for a number of platforms, with single-click deployment to desktop methods, emulators, simulators, or bodily gadgets.
- Images, fonts, and translation information could be added to a single mission, with native hooks arrange robotically. Resources corresponding to fonts and pictures are housed in a single location.
- Access is offered to native, underlying working system APIs.
- Model-View-View-Model (MVVM) and XAML are first-class options. Developers can also implement the Model-View-Update (MVU) sample. MVU promotes a one-way circulate of knowledge and state administration together with a code-first growth expertise that updates the UI by making use of solely crucial adjustments.
To assist transition from Xamarin.Forms to .NET MAUI, Microsoft plans to supply try-convert assist and migration guides much like what has been supplied for .NET Core.
.NET MAUI will ship in the identical six-week cadence as Xamarin.Forms. Xamarin.iOS and Xamarin.Android are set to turn out to be a part of .NET 6 as .NET for iOS and .NET for Android.
A new, main model of Xamarin.Forms is due later this yr, with minor and companies releases to comply with each six weeks till .NET 6 is usually out there in November 2021.
Copyright © 2020 IDG Communications, Inc.