Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Any learning materials specifically on porting WPF to MAUI?

Any learning materials specifically on porting WPF to MAUI?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpwpfjavamobilevisual-studio
3 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    greatoceansoftware
    wrote on last edited by
    #1

    I'd like to port my WPF/.NET6 app to MAUI so I can target MacOS. I know MAUI is still a work in progress until next spring, but are there any good materials specifically on porting WPF to MAUI available yet? FYI, in the research I've done so far, these are the biggest differences/issues I've found. 1. Control properties are not directly accessible and must be set with handlers with an IF branch for each targeted platform. 2. I'll have to learn the Xamarin flavor of XAML (I assume it's similar to WPF XAML). 3. I'll have to learn how to deploy MAUI apps. I've been using ClickOnce up to this point. 4. I'll need to buy a Mac and use Visual Studio for Mac to compile for the Mac OS target.

    L 1 Reply Last reply
    0
    • G greatoceansoftware

      I'd like to port my WPF/.NET6 app to MAUI so I can target MacOS. I know MAUI is still a work in progress until next spring, but are there any good materials specifically on porting WPF to MAUI available yet? FYI, in the research I've done so far, these are the biggest differences/issues I've found. 1. Control properties are not directly accessible and must be set with handlers with an IF branch for each targeted platform. 2. I'll have to learn the Xamarin flavor of XAML (I assume it's similar to WPF XAML). 3. I'll have to learn how to deploy MAUI apps. I've been using ClickOnce up to this point. 4. I'll need to buy a Mac and use Visual Studio for Mac to compile for the Mac OS target.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Is it "MAUI" or Xamarin you need to learn? You don't need a Mac to learn Xamarin and bet 6 months on vaporware.

      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

      G 1 Reply Last reply
      0
      • L Lost User

        Is it "MAUI" or Xamarin you need to learn? You don't need a Mac to learn Xamarin and bet 6 months on vaporware.

        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

        G Offline
        G Offline
        greatoceansoftware
        wrote on last edited by
        #3

        Thanks, Gerry. The available in-depth information on MAUI is spotty, but from what I understand one possible path is to start refactoring the WPF app into Xamarin now, and then there will be update tools (part of VS?) that should make porting from Xamarin to MAUI more straightforward. My hope was that someone has already created a tutorial or video that took a specific look at what it would be like to go from WPF directly to MAUI. I'm sure there are some devil-in-the-details issues that's just not being discussed in the plethora of "Hello World" .NET6/MAUI presentations right now. I found one YouTube video here, but the audio is hard to follow. It's the right idea, but I was hoping for more of these. As for needing a Mac, I think it can compile the project, but there's no emulator for testing in VS right now. This is all new to me. I have a decade of learning to catch up on.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups