1
0
mirror of synced 2025-12-25 02:14:57 -05:00
Files
core/release-notes/10.0/preview/rc1/dotnetmaui.md
Jon Galloway f827ae7908 Add release notes for .NET 10 RC 1 across various components (#10061)
* Add RC1 release notes template files

* Add missing aspnetcore.md template file

* Update RC1 release notes to proper template format and update prompt file

* Add release notes for .NET 10 RC 1 across various components

* Fix markdownlint issues in createprs-for-preview.prompt.md

* Update createprs-for-preview prompt with detailed instructions for handling "TBD" placeholders and adding a master consolidation PR process

* Servicing Release markdowns and json Updates for 10.0 RC1

* Added ./rc1/README.md

* Fix formatting of version-aspnetcoremodule entries and ensure newline at end of file in release notes JSON files

* Update csharp for RC 1 (#10051)

* Update csharp for RC 1

* Update C# release notes for .NET 10 RC 1 (no notable features)

* Update wpf for RC 1 (#10060)

* Update wpf for RC 1

* Update WPF release notes for .NET 10 RC 1 to clarify absence of new features

* Update containers for RC 1 (#10050)

* Update containers for RC 1

* Clarify that the .NET 10 RC 1 release does not include new Container image features in the release notes.

* Update runtime for RC 1 (#10056)

* Update runtime for RC 1

* Update runtime release notes for .NET 10 RC 1

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Revise SDK release notes for .NET 10 RC 1 to emphasize quality improvements and encourage developer feedback

* Update sdk for RC 1 (#10057)

* Clarify that .NET 10 RC 1 does not introduce new Visual Basic features and direct users to relevant documentation

* Update aspnetcore for RC 1 (#10049)

* Update fsharp for RC 1 (#10054)

* Update fsharp for RC 1

* Fix fsharp: replace TBD with content

* Update F# release notes for .NET 10 RC 1 to clarify absence of new features

---------

Co-authored-by: James Montemagno <james.montemagno@gmail.com>

* Update dotnetmaui for RC 1 (#10052)

* Update dotnetmaui for RC 1

* Fix duplicate content in dotnetmaui

* look! We have release notes

added maui and android. Need yet macios and contributors list.

* Apply suggestions from code review

* Update release-notes/10.0/preview/rc1/dotnetmaui.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update release-notes/10.0/preview/rc1/dotnetmaui.md

Co-authored-by: Jon Galloway <jongalloway@gmail.com>

* Update release-notes/10.0/preview/rc1/dotnetmaui.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* add images

* add bullet for experimental

* update lint

---------

Co-authored-by: David Ortinau <david.ortinau@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: James Montemagno <james.montemagno@gmail.com>

* Update libraries for RC 1 (#10055)

* Update libraries for RC 1

* Fix libraries: replace TBD with content

* Add PQC notes

* Fix trailing whitespace

* Update release-notes/10.0/preview/rc1/libraries.md

Co-authored-by: Tanner Gooding <tagoo@outlook.com>

* updates

* update link

* updates

---------

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: James Montemagno <james.montemagno@gmail.com>
Co-authored-by: Tanner Gooding <tagoo@outlook.com>

* Update winforms for RC 1 (#10059)

* Update winforms for RC 1

* Update WinForms release notes for .NET 10 RC1

Thanks @KlausLoeffelmann for the content!

---------

Co-authored-by: Merrie McGaw <mmcgaw@microsoft.com>

* Update efcore for RC 1 (#10053)

* Update efcore for RC 1

* Fix efcore: replace TBD with content

* EF Core release notes for rc.1

---------

Co-authored-by: Shay Rojansky <roji@roji.org>

* markdownlint fixes for WinForms RC1 release notes

* Update Language Version in releases.json

* Update release.json for Language version support

* updates

* filled out maui contributor GitHub handles

* Revise Visual Studio compatibility information

---------

Co-authored-by: victorisr <victorisr@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: James Montemagno <james.montemagno@gmail.com>
Co-authored-by: David Ortinau <david.ortinau@microsoft.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Tanner Gooding <tagoo@outlook.com>
Co-authored-by: Merrie McGaw <mmcgaw@microsoft.com>
Co-authored-by: Shay Rojansky <roji@roji.org>
Co-authored-by: Rahul Bhandari <rbhanda@microsoft.com>
2025-09-09 09:39:12 -07:00

5.6 KiB

.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 updates in .NET 10:

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.

.NET Aspire dashboard showing several .NET MAUI traces

.NET Aspire dashboard showing trace detail for an element

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 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.

<RefreshView IsRefreshEnabled="false">
    <!-- Login form remains usable -->
    <StackLayout>
        <Entry Placeholder="Username" />
        <Entry Placeholder="Password" />
        <Button Text="Login" />
    </StackLayout>
</RefreshView>

Deprecated APIs

Compressed layout APIs are now marked obsolete. Avoid unnecessary layout nesting instead.

Performance and IPerformanceProvider types are marked obsolete.

.NET for Android

This release includes continued integration with multiple .NET runtimes, and several bug fixes.

(Experimental) CoreCLR

Enables Android apps to run on the CoreCLR runtime (instead of Mono). To use it, add the following to your project file for Android builds:

<!-- Use CoreCLR on Android -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
    <UseMonoRuntime>false</UseMonoRuntime>
</PropertyGroup>

Please try this in your applications and report any issues; when filing feedback, state that you are using UseMonoRuntime=false. Expect that application size is currently larger than with Mono and that debugging and some runtime diagnostics are not fully functional yet; these areas are actively being improved. This is an experimental feature and not intended for production use.

A detailed list of Android changes can be found on the dotnet/android GitHub releases.

.NET for iOS, Mac Catalyst, macOS, tvOS

This release includes continued integration with multiple .NET runtimes, and several bug fixes.

Contributors

Thank you contributors! ❤️

@Ahamed-Ali, @anandhan-rajagopal, @Dhivya-SF4094, @davidnguyen-tech, @emaf, @grendello, @HarishwaranVijayakumar, @jfversluis, @jonathanpeppers, @jsuarezruiz, @kubaflo, @LogishaSelvarajSF4525, @mattleibow, @NafeelaNazhir, @NanthiniMahalingam, @nivetha-nagalingam, @PaulAndersonS, @pictos, @postalservice14, @prakashKannanSf3972, @PureWeen, @rmarinho, @rolfbjarne, @sheiksyedm, @SuthiYuvaraj, @Tamilarasan-Paranthaman, and @tj-devel709.