MAUI Improves Android App Start Time
Written by Kay Ewbank   
Tuesday, 19 October 2021

The latest preview of .NET Multi-platform App UI (MAUI) is now available with .NET 6 RC2 and in the preview channel of Visual Studio 2022 Preview 5. Among the improvements to the new release are performance tweaks to help Android apps start more rapidly .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

The developers have continued to work on completing and stabilizing more than 50 controls and layouts, and preview 9 adds support for borders, corners, and shadows across most all controls and layouts.

net2

The improvements to the performance on Android have largely been made by using Ahead-of-time (AOT) compilation. The developers say that while this can make a big difference in how quickly your applications can code start on Android, full AOT may also make your application artifacts larger than you wish. This is a particular issue if you're trying to keep your apps small enough to be installable over wifi. The developers say that In this situation, Startup Tracing is the answer. This traces the path of startup execution, then uses AOT on only those parts of your application. This can balance speed and size.

The other improvements to MAUI start with better implementations of various controls including boxview, imagebutton, and webview, which uses the platform native browser control to render any online or embedded HTML content. The MAUI team says this makes it ideal for displaying markup more complex than the subset of HTML supported by Label.

More obviously, there's a new Microsoft.Maui.Graphics library that provides a consistent UI drawing API based on native graphics engines. This makes it easy to add borders, corner rendering, and shadows to most layouts and controls in .NET MAUI.

.NET MAUI is part of the latest .NET preview, and is available now.

 net2

More Information

MAUI On GitHub

Related Articles

.NET MAUI Adds New Layouts

Microsoft Will Replace Xamarin Forms With MAUI .NET

.NET 6 Preview Adds MAUI

Visual Studio 2022 Preview 2 Targets Productivity

Developer Preview Of .NET 6 Released

New In Windows Forms .NET

Xamarin Forms 3.0 Adds Visual State Manager

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


JavaZone - The Conference We Missed
25/10/2024

Amongst the many Java related conferences, this one flew under the radar. A real shame because it had many great sessions.
JavaZone might not be that famous internationally, but it still is the bi [ ... ]



Firefox 1.0 Released 20 Years Ago
10/11/2024

A news item with the headline "Firefox browser takes on Microsoft" from 20 years ago has attracted renewed attention. It was originally published on the BBC News website on November 9th, 2004 rec [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 19 October 2021 )