.NET MAUI in .NET 11 Switches to CoreCLR Runtime, Adds Incremental XAML Hot Reload
Microsoft released .NET 11 on 10 November, and .NET MAUI in .NET 11 switches the default runtime from Mono to CoreCLR on all supported platforms, while also adding incremental XAML hot reload.
The work spanned seven previews and a release candidate, with the documentation describing product quality as the release’s focus.
The runtime switch is the most significant change. Release builds use composite partial ReadyToRun by default. On Apple platforms, which disallow JIT compilation, code that isn’t precompiled runs in the CoreCLR interpreter. Native AOT is an opt-in publishing option, and its Android support is still experimental. Microsoft recommends developers test app libraries before choosing their deployment model.
XAML gets four main improvements. First, incremental hot reload, still in preview, patches live instances of pages and controls without recreating them. Finally, RelativeSource bindings with a resolvable AncestorType now compile to trim-safe code.
Handlers keep replacing the legacy renderers with newer implementations. The old renderers remain available as a manual fallback. Developers who depend on the old timing should switch to NavigatedTo.
Controls get smaller additions. Maps gain clustering and custom pin icons, plus an Azure Maps-backed implementation on Windows. TabbedPage gains badges, BoxView a Fill brush, and LongPressGestureRecognizer becomes configurable. Shell also supports route templates such as trip/{tripId}. Animation methods now accept a CancellationToken, and their non-Async variants are obsolete.
Permissions.PostNotifications now works on iOS, and splash screens can have dark-mode variants.
Several changes break existing code. When upgrading, Microsoft advises to focus on thoroughly testing navigation, custom handlers and trimmed publishing. The full list of changes is in the .NET MAUI documentation.