-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Migrating to Preview 14
Javier Calvarro Nelson edited this page Apr 5, 2022
·
3 revisions
In order to use constructor injection with ContentPage
s in the context of Shell, you'll need to register them with DI just like you have your view models.
- Use
services.AddMauiBlazorWebview()
instead ofbuilder.RegisterBlazorMauiWebView()
andservices.AddBlazorWebView()
to register Blazor Webview in Maui applications. Callingservices.AddBlazorWebView()
is no longer necessary since it's done as part ofservices.AddMauiBlazorWebview()
- occurrences of "native" have been replaced with "platform"
-
OSAppTheme
is nowAppTheme
Rectangle
to Rect
The available platforms are now:
- Android
- iOS
- MacCatalyst
- Tizen
- WinUI