title | description | ms.date |
---|---|---|
What's new in .NET MAUI for .NET 8 |
Learn about the new features introduced in .NET MAUI for .NET 8. |
10/02/2023 |
.NET 8 is the successor to .NET 7 and focuses on being unified, modern, simple, and fast. Due to working with underlying external dependencies, such as Xcode or Android SDK Tools, the .NET Multi-platform App UI (.NET MAUI) support policy differs from the .NET and .NET Core support policy. For more information, see .NET MAUI support policy.
This article lists the new features of .NET MAUI for .NET 8 and provides links to more detailed information on each.
For information about what's new in .NET 8, see What's new in .NET 8.
.NET MAUI for .NET 8 addresses top feedback issues and introduces the following new functionality:
- xref:Microsoft.AspNetCore.Components.WebView.Maui.BlazorWebView gains a
StartPath
property, aTryDispatchAsync
method, and enhanced logging capabilities. For more information, see Host a Blazor web app in a .NET MAUI app using BlazorWebView. - xref:Microsoft.Maui.Controls.PointerGestureRecognizer gains
PointerPressedCommand
,PointerPressedCommandParameter
,PointerReleasedCommand
,PointerReleasedCommandParameter
properties, andPointerPressed
andPointerReleased
events. For more information, see Recognize a pointer gesture. - xref:Microsoft.Maui.Devices.Flashlight gains a
IsSupportedAsync
method that determines whether a flashlight is available on the device. For more information, see Flashlight.
The following members have been deprecated:
- The
AutomationProperties.Name
,AutomationProperties.HelpText
, andAutomationProperties.LabeledBy
attached properties have been deprecated.
The following members have been removed:
- The
Application.Properties
property andApplication.SavePropertiesAsync
method have been removed. To migrate your app properties data to .NET MAUI, see Migrate data from the Xamarin.Forms app properties dictionary to .NET MAUI preferences.