1、Bringing.NET MAUI to Linux and WebAssemblyPlatforms with Avalonia使用 Avalonia 将.NET MAUI 引入 Linux 和 WebAssembly 平台Tim MillerAvalonia 核心开发者30/11/2025Outline Overview of.NET MAUI Handlers/Layouts What Avalonia Brings Demo Current Progress/Issues When does it come out.NET MAUI.NET Multi-platform App UI
2、Cross-platform framework for creating native mobile and desktop apps with C#and XAML.Evolution of Xamarin.Forms iOS,macOS(Mac Catalyst),Android,WinUI 3.NET MAUI-Handlershttps:/ MAUI-Handlers.NET MAUI-Layouts ILayoutHandler Based on platform primitives iOS/Catalyst UIView Android View WinUI Framework
3、Element Placed by MAUI directly onto platform view.Ex.Maui StackPanel does notnotuse WinUIs StackPanelhttps:/ MAUI Avalonia-based Handlers and Controls Replacements for standard.NET MAUI Native Controls Your existing XAML/C#will“just work!”*Ways for you to create your own handlers and controls!Suppo
4、rted Operating Systems Linux WebAssembly Should work wherever Avalonia can run*Windows macOS EtcAvalonia+.NET MAUI Why?For.NET MAUI Bring support to new platforms people want Linux is frequently requested,hard to deliver GTK?QT?Binding and maintaining every controlevery control to a new platform For
5、 Avalonia Bring new controls to the platform.NET MAUI has rich mobile-based controls Avalonia lacks Ex.NavigationPage,SwipeView,etc.New users to Avalonia Create Avalonia-based controls that can run in Avalonia and.NET MAUISwipeViewActivityIndicatorDemoLinuxWebAssemblyWeather 21-.NET MAUIWindowsmacOS
6、Weather 21-.NET MAUIAvaloniaMac CatalystWeather 21-.NET MAUI MacCurrent Issues.NET MAUI Internal Infrastructure Ex.App Lifecycle Support is internal.Some common interfaces need to be opened up.NET MAUI Target Frameworks Native UI Controls bound tohandlers(10-i