Menu
Microsoft .NET MAUI nears the finish line

Microsoft .NET MAUI nears the finish line

Cross-platform dev framework moves to Preview 14, with general availability planned for the second quarter of 2022.

Credit: Dreamstime

As Microsoft moves closer to general availability of its .NET MAUI (Multi-platform App UI) cross-platform development framework, the vendor has just added a menu capability for desktop developers.

Preview 14 of .NET MAUI, featured in Visual Studio 2022 17.2 Preview as of March 16, features a MenuBar to meet the need for a traditional menu at the top of the app window on Windows and in the title bar on MacOS.

Menus may be expressed in XAML or in C# for any ContentPage hosted in Shell or a NavigationPage. Developers can begin by adding a MenuBarItem to the page’s MenuBarItems collection and adding MenuFlyoutItem for direct children or MenuFlyoutSubItem for containers of other MenuFlyOutItem.

An evolution of the Xamarin.Forms cross-platform framework, .NET MAUI enables development of native and mobile desktop apps with C# and XAML. 

Leveraging a single, shared code base, apps can run on Android, iOS, Windows, and MacOS. With .NET MAUI, APIs for the different platforms are united into a single API enabling a write-once, run-anywhere developer experience with access to native platforms.

A release candidate of .NET MAUI is due in April, with general availability by June. Once the production release of .NET MAUI ships with.NET 6 and Visual Studio, the focus will shift to tasks pertinent to a planned .NET 7 release later this year. To access the preview, install the Visual Studio 2022 preview and confirm .NET MAUI (preview) is checked under the “Mobile Development with .NET Workload.”

Other highlights of Preview 14, which offers issue resolutions and completed features, include device and Essentials reconciliation which was added, along with interfaces for Essentials APIs.

Meanwhile, the Shell WinUI implementation was moved over to reuse most of the same components as a non-Shell app. This enables iterating on the rest of the Shell APIs in a more collaborative way, which can apply to non-Shell structures.

Other updates include news that iOS image caching is being implemented, alongside handlers being created for shapes such as lines and rectangles and the cookies property now implemented in WebView.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags Microsoft

Events

ARN Innovation Awards 2022

Innovation Awards is the market-leading awards program for celebrating ecosystem innovation and excellence across the technology sector in Australia.

EDGE 2022

EDGE is the leading technology conference for business leaders in Australia and New Zealand, built on the foundations of collaboration, education and advancement.

Brand Post

Channel Roadmap

The Channel Roadmap is a bespoke content hub housing strategic priorities from technology vendors for 2022 and beyond, partners can find the guidance on the key technologies and markets to pursue, to help build a blueprint for future success.

Show Comments