Base solution for your next web application
Open Closed

MAUI Project - Migrate Xamarin page to MAUI razor page #11457


User avatar
0
mgcode created

Hello,

I want to migrate my Xamarin application to the new MAUI project template. In Xamarin, I have a page view (xaml) with a map control bound to the view model Map property <ContentView HeightRequest="650" Content="{Binding Map}"/>

Now in MAUI, I am trying to create a new razor page but I do not know how to bind the MAUI Map control to the razor page.

I also tried to use xaml page but I had trouble navigating and couldn't set the menu item to go to the xaml page. Is this possible to use both razor pages and xaml pages in MAUI?

I would appreciate any help. Thank you in advance.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mgcode

    Since we are using Blazor in MAUI app, you need to use Razor pages. So, you need to convert your existing pages to Razor pages.