.NET10 Preview7 Accelerates .NET MAUI with XAML Source Generator
Briefly

.NET10 Preview7 Accelerates .NET MAUI with XAML Source Generator
"MAUI is an acronym that stands for Multiplatform Application UI. According to Microsoft, it's an evolution of Xamarin and Xamarin Forms frameworks, unifying separate target libraries and projects into a single project for multiple devices. Currently, MAUI supports writing applications that run on Android 5+, iOS 12.2+, macOS 12+ (as Mac Catalyst), Samsung Tizen, Windows 10 version 1809+, or Windows 11. There are no changes in the supported minimum platforms from the version 9, released last year."
"XAML markup is now compiled at build time instead of being interpreted at runtime. This change reduces app startup latency, surfaces XAML errors earlier in the developer workflow, and enables developers to inspect the generated code for gaining a deeper insight. In order to enable build-time XAML compilation, developer must add the EnablePreviewFeatures property in the project and decorate their root namespace with XamlProcessing attribute."
"When selecting images via MediaPicker control, MAUI now can handle embedded EXIF metadata, such as orientation, timestamps, or geolocation data. This makes image handling richer in features (such as automatic rotation of the photos) and more reliable for apps that rely on metadata. The new update also preserves any existing EXIF metadata in the image when passed downstream after being picked."
The seventh preview of .NET MAUI in .NET 10 introduces performance improvements and control updates. Compile-time XAML processing replaces runtime interpretation, reducing app startup latency, surfacing XAML errors earlier, and allowing inspection of generated code; enabling it requires setting EnablePreviewFeatures and adding a XamlProcessing attribute. MediaPicker now reads and preserves embedded EXIF metadata including orientation, timestamps, and geolocation, enabling automatic rotation and more reliable metadata-dependent workflows. Safe Area receives new features to prevent content rendering outside device-specific screen bounds. Supported minimum platform versions remain unchanged from .NET MAUI version 9.
Read at InfoQ
Unable to calculate read time
[
|
]