.NET 11 Preview 7 Adds Passkeys, Incremental XAML Hot Reload, and Shell Route Templates to MAUI

Microsoft has released Preview 7 of .NET 11, introducing a new Passkeys API for MAUI, incremental XAML Hot Reload, and improved Shell route templates. These updates aim to streamline authentication and UI development for cross-platform applications.
Why it matters
These features significantly improve developer productivity and security standards for cross-platform mobile and desktop application development.
InfoQ Homepage News .NET 11 MAUI Preview 7 Adds Passkeys, Incremental XAML Hot Reload, and Shell Route Templates to MAUI
One of the most visible additions is a new Passkeys API in MAUI Essentials . It drives the native passkey experience on Android 14 or later, iOS and Mac Catalyst 16 or later, and supported Windows 10 versions. Applications can use Passkeys.CreateAsync to register credentials and Passkeys.AssertAsync for authentication, while Passkeys.IsSupported checks whether the underlying platform supports the API.
The API handles the platform-side WebAuthn ceremony but deliberately leaves server responsibilities to the application. Relying-party servers still need to generate challenges, supply the standard WebAuthn options, and validate returned assertions or attestations. Applications also need the appropriate trust configuration, including Associated Domains and an Apple App Site Association file on Apple platforms or Digital Asset Links on Android.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in