Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
lawrence_shaun_introducing_net_maui_build_and_deploy_crosspl.pdf
Скачиваний:
46
Добавлен:
26.06.2023
Размер:
5.15 Mб
Скачать

Chapter 1 Introduction to .NET MAUI

XAML Hot Reload

XAML Hot Reload allows you to edit the UI in your XAML files, save the changes, and observe those changes in your running application without the need to recompile. This is a fantastic feature that really shines when you need to tweak some controls.

Performance

.NET MAUI applications are compiled into native packages for each of the supported platforms, which means that they can be built to perform well.

Android has always been the slowest platform when dealing with Xamarin.Forms and the team at Microsoft has been working hard and showing off the improvements. The team has provided some really great resources in the form of blog posts covering the progress that has been made to bring the start-up times of Android applications to well below one second. These posts cover metrics plus tips on how to make your applications really fly.

•\ https://devblogs.microsoft.com/dotnet/ performance-improvements-in-dotnet-maui/

•\ https://devblogs.microsoft.com/dotnet/dotnet-7- performance-improvements-in-dotnet-maui/

Android apps built using .NET MAUI compile from C# into intermediate language (IL), which is then just-in-time (JIT) compiled to a native assembly when the app launches.

iOS and macOS apps built using .NET MAUI are fully ahead-of-time (AOT) compiled from C# into native ARM assembly code.

Windows apps built using .NET MAUI use Windows UI Library (WinUI) 3 to create native apps that target the Windows desktop.

11

Chapter 1 Introduction to .NET MAUI

Strong Commercial Offerings

There are several commercial options that provide additional UI elements and other integrations such as Office document editing or PDF viewing in your .NET MAUI applications. Some options (at the time of writing) are

•\ SyncFusion

“The feature-rich/flexible/fast .NET MAUI controls for building cross-­platform mobile and desktop apps with C# and XAML”

www.syncfusion.com/maui-controls

•\ Telerik UI for .NET MAUI

“Kickstart your multiplatform application development with a Preview version of Telerik UI for .NET MAUI controls!”

www.telerik.com/maui-ui

•\ DevExpress

“Our .NET Multi-platform App UI Component Library ships with high-­performance UI components for Android and iOS mobile development (WinUI desktop support is coming in 2022). The library includes a Data Grid, Chart, Scheduler, Data Editors, CollectionView, Tabs, and Drawer components.”

www.devexpress.com/maui/

Note that while these are commercial products, several of them provide free licenses for smaller companies or independent developers so I recommend checking out their products.

12