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. The Lounge
  3. .Net MAUI

.Net MAUI

Scheduled Pinned Locked Moved The Lounge
csharphelpquestion
13 Posts 9 Posters 0 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.
  • K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #1

    Anyone working in .Net MAUI?

    If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

    0 D D T O 6 Replies Last reply
    0
    • K Kevin Marois

      Anyone working in .Net MAUI?

      If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

      0 Offline
      0 Offline
      0x01AA
      wrote on last edited by
      #2

      Now yes, a very little bit ;P What is .NET MAUI? - .NET MAUI | Microsoft Docs[^]

      J 1 Reply Last reply
      0
      • 0 0x01AA

        Now yes, a very little bit ;P What is .NET MAUI? - .NET MAUI | Microsoft Docs[^]

        J Offline
        J Offline
        jmaida
        wrote on last edited by
        #3

        sounds too good to be true.

        "A little time, a little trouble, your better day" Badfinger

        1 Reply Last reply
        0
        • K Kevin Marois

          Anyone working in .Net MAUI?

          If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          At first I thought you were looking for developers in Hawaii.

          "It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[^]

          1 Reply Last reply
          0
          • K Kevin Marois

            Anyone working in .Net MAUI?

            If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

            D Offline
            D Offline
            Daniel Wilianto
            wrote on last edited by
            #5

            It's only available on Visual Studio preview, and I only install stable version. So, no...

            1 Reply Last reply
            0
            • K Kevin Marois

              Anyone working in .Net MAUI?

              If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

              T Offline
              T Offline
              Thornik
              wrote on last edited by
              #6

              I avoid MAUI. It's former Xamarin, I don't want to deal w "hobby" projects, bloated till "enterprise library". And hell, old good WinForms still service very well!

              M 1 Reply Last reply
              0
              • T Thornik

                I avoid MAUI. It's former Xamarin, I don't want to deal w "hobby" projects, bloated till "enterprise library". And hell, old good WinForms still service very well!

                M Offline
                M Offline
                Mark_Rees
                wrote on last edited by
                #7

                Except that WinForms tends to fall on its face when scaling is involved and more and more people are using scaling. WPF solves that problem quite nicely.

                T 1 Reply Last reply
                0
                • K Kevin Marois

                  Anyone working in .Net MAUI?

                  If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                  O Offline
                  O Offline
                  obermd
                  wrote on last edited by
                  #8

                  Nope, I work in .Net Denver. ;P

                  1 Reply Last reply
                  0
                  • M Mark_Rees

                    Except that WinForms tends to fall on its face when scaling is involved and more and more people are using scaling. WPF solves that problem quite nicely.

                    T Offline
                    T Offline
                    Thornik
                    wrote on last edited by
                    #9

                    Well, I agree that LCD become bigger and better density, but... I'm such an old guy who still uses Win7 and has NO ANY WISH to move on win10 cr__p. And Win7 - you know, its interface is best looking at normal 100% scale at 90dpi. And there ALL windows software (inc. which I make) works perfect.

                    1 Reply Last reply
                    0
                    • K Kevin Marois

                      Anyone working in .Net MAUI?

                      If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                      H Offline
                      H Offline
                      hparadkar
                      wrote on last edited by
                      #10

                      I did. I was looking for a way to use Blazor for Windows apps, and saw MAUI was the latest from Microsoft. I gave it a try since I was building a basic app, and didn't care that it's still in preview or not that mature.

                      K 1 Reply Last reply
                      0
                      • H hparadkar

                        I did. I was looking for a way to use Blazor for Windows apps, and saw MAUI was the latest from Microsoft. I gave it a try since I was building a basic app, and didn't care that it's still in preview or not that mature.

                        K Offline
                        K Offline
                        Kevin Marois
                        wrote on last edited by
                        #11

                        Following up on this. Maybe you can answer a question I get that with MAUI you can publish to Windows, Android, and Mac. The demo app shows the SAME UI being run on all 3 platforms. That’s NOT a real world example. In a real production app the UI’s for the different platforms are NOT going to be the same. For example, I’m working on a large WPF app for a construction company. It has dozens of UI’s and View Models. There’s also a Xamarin Android app which is a collection of smaller UI elements that contain specific pieces of functionality from the Windows app, like a task list, uploading files, etc. I created the WPF app and Xamarin app as two different projects in the same solution. Many of the UI’s from both share common view models, like the Login view. The view may be different on both platforms, but the VM is the same and can be shared by both. They also share common data models, API Proxy, and repo. That solution architecure works great. But in MAUI, it seems like ALL the UI is contained in one project, and the only answer I’ve gotten is to use compiler directives to decide what UI to show based on the environment the app is running on. That feels like a workaround. So, what is the right way to organize a MAUI solution given a similar design?

                        If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                        H 1 Reply Last reply
                        0
                        • K Kevin Marois

                          Following up on this. Maybe you can answer a question I get that with MAUI you can publish to Windows, Android, and Mac. The demo app shows the SAME UI being run on all 3 platforms. That’s NOT a real world example. In a real production app the UI’s for the different platforms are NOT going to be the same. For example, I’m working on a large WPF app for a construction company. It has dozens of UI’s and View Models. There’s also a Xamarin Android app which is a collection of smaller UI elements that contain specific pieces of functionality from the Windows app, like a task list, uploading files, etc. I created the WPF app and Xamarin app as two different projects in the same solution. Many of the UI’s from both share common view models, like the Login view. The view may be different on both platforms, but the VM is the same and can be shared by both. They also share common data models, API Proxy, and repo. That solution architecure works great. But in MAUI, it seems like ALL the UI is contained in one project, and the only answer I’ve gotten is to use compiler directives to decide what UI to show based on the environment the app is running on. That feels like a workaround. So, what is the right way to organize a MAUI solution given a similar design?

                          If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                          H Offline
                          H Offline
                          hparadkar
                          wrote on last edited by
                          #12

                          You are right. You have to be careful with certain features only being available for some platforms. The way I had structured the project was: I separated the whole project into - a Class Library for a particular functionality - a Razor Class Library for holding all my UI Razor Components, which would call a function in the Class Library - a Blazor Web App - a Windows MAUI App (both importing from the Razor Class Library)

                          K 1 Reply Last reply
                          0
                          • H hparadkar

                            You are right. You have to be careful with certain features only being available for some platforms. The way I had structured the project was: I separated the whole project into - a Class Library for a particular functionality - a Razor Class Library for holding all my UI Razor Components, which would call a function in the Class Library - a Blazor Web App - a Windows MAUI App (both importing from the Razor Class Library)

                            K Offline
                            K Offline
                            Kevin Marois
                            wrote on last edited by
                            #13

                            Thanks

                            If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

                            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