# .NET MAUI in .NET 10 RC 1 - Release Notes Here's a summary of what's new in .NET MAUI in this release: - .NET MAUI - [Diagnostics](#diagnostics) - [HybridWebView events](#hybridwebview-events) - [RefreshView IsRefreshEnabled](#refreshview-isrefreshenabled) - [Deprecated APIs](#deprecated-apis) - [.NET for Android](#net-for-android) - [CoreCLR runtime experimental support](#experimental-coreclr) - [.NET for iOS, Mac Catalyst, macOS, tvOS](#net-for-ios-mac-catalyst-macos-tvos) .NET MAUI updates in .NET 10: - [What's new in .NET MAUI in .NET 10](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-10) documentation. ## Diagnostics We've added comprehensive diagnostics and metrics tracking for .NET MAUI applications, focusing on layout performance monitoring with an extensible architecture for future observability needs. ![Aspire dashboard showing several .NET MAUI traces](media/maui-aspire-1.png) ![Aspire dashboard showing trace detail for an element](media/maui-aspire-2.png) **Core Diagnostics Infrastructure:** - **ActivitySource**: `"Microsoft.Maui"` - Tracks layout operations with detailed timing - **Metrics**: `"Microsoft.Maui"` - Records counters and histograms for performance analysis - **Feature Switch**: `System.Diagnostics.Metrics.Meter.IsSupported` - Runtime enable/disable for AOT/trimming **Layout Performance Tracking:** - Instruments `IView.Measure()` and `IView.Arrange()` operations - Records timing data and operation counts with rich contextual tags - Zero-allocation struct-based instrumentation using `using` pattern | Metric Name | Type | Description | |-------------|------|-------------| | `maui.layout.measure_count` | Counter | Number of measure operations | | `maui.layout.measure_duration` | Histogram | Time spent measuring (ns) | | `maui.layout.arrange_count` | Counter | Number of arrange operations | | `maui.layout.arrange_duration` | Histogram | Time spent arranging (ns) | See [pull request #31058](https://github.com/dotnet/maui/pull/31058) for more details. ## HybridWebView events Adds initialization events to `HybridWebView` following the same pattern as `BlazorWebView`, enabling platform-specific customization before and after initialization. ### New Events - `WebViewInitializing` - Fired before `WebView` creation, allows configuration of platform-specific initialization parameters - `WebViewInitialized` - Fired after `WebView` creation, provides access to the native `WebView` instance and settings ## RefreshView IsRefreshEnabled Added `IsRefreshEnabled` property to be distinct from `IsEnabled` and make the behavior consistent across platforms. ```xml