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. Winforms is dead on Linux. What else do you recommend?

Winforms is dead on Linux. What else do you recommend?

Scheduled Pinned Locked Moved The Lounge
csharpasp-netvisual-studiowinformslinux
11 Posts 7 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.
  • B Offline
    B Offline
    Behzad Sedighzadeh
    wrote on last edited by
    #1

    We have been developing an industrial SCADA application for the the last 15 years( more than 200 KLOC ). At the beginning we were sure we can run our software on both Linux and Windows. With the decision of Microsoft to not support dotnet core + Winforms on Linux, we finally came to conclusion that it is time to migrate to a new technology. Now, 2 choices comes to mind: 1-Qt 2-GTK. We have zero knowledge in both of them or any other library. Community seems to prefer GTK. Which technology or another one would you recommend for the GUI part of our program? Decision will be made based on these criteria in order of importance: 1- Long and active Community support ( At least the next 10 years ) 2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible 2- Fair amount of library and 3rd-party controls 3- Modern Looking Controls 4- Good IDE Support Happy Christmas to all. cheers Behzad

    Behzad

    OriginalGriffO abmvA Graeme_GrantG J J 5 Replies Last reply
    0
    • B Behzad Sedighzadeh

      We have been developing an industrial SCADA application for the the last 15 years( more than 200 KLOC ). At the beginning we were sure we can run our software on both Linux and Windows. With the decision of Microsoft to not support dotnet core + Winforms on Linux, we finally came to conclusion that it is time to migrate to a new technology. Now, 2 choices comes to mind: 1-Qt 2-GTK. We have zero knowledge in both of them or any other library. Community seems to prefer GTK. Which technology or another one would you recommend for the GUI part of our program? Decision will be made based on these criteria in order of importance: 1- Long and active Community support ( At least the next 10 years ) 2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible 2- Fair amount of library and 3rd-party controls 3- Modern Looking Controls 4- Good IDE Support Happy Christmas to all. cheers Behzad

      Behzad

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      Um.

      Quote:

      1- Long and active Community support ( At least the next 10 years )

      Yeah. OK. Nobody can guarantee that for anything.

      Quote:

      2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible

      Do you have any idea what "open-source" actually means? 99% of open source software doesn't get bugs fixed, doesn't get security patches unless somebody is interested enough to do that - and most OS developers prefer to do the "interesting bits" like add new features they want instead of "boring stuff" like wade through looking for a bug. Take Open Office for example: it'll probably still be there in ten years time, but it's still got bugs that were reported by multiple members of the community over ten years ago!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • B Behzad Sedighzadeh

        We have been developing an industrial SCADA application for the the last 15 years( more than 200 KLOC ). At the beginning we were sure we can run our software on both Linux and Windows. With the decision of Microsoft to not support dotnet core + Winforms on Linux, we finally came to conclusion that it is time to migrate to a new technology. Now, 2 choices comes to mind: 1-Qt 2-GTK. We have zero knowledge in both of them or any other library. Community seems to prefer GTK. Which technology or another one would you recommend for the GUI part of our program? Decision will be made based on these criteria in order of importance: 1- Long and active Community support ( At least the next 10 years ) 2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible 2- Fair amount of library and 3rd-party controls 3- Modern Looking Controls 4- Good IDE Support Happy Christmas to all. cheers Behzad

        Behzad

        abmvA Offline
        abmvA Offline
        abmv
        wrote on last edited by
        #3

        [Qt | Cross-platform Software Design and Development Tools](https://www.qt.io/)

        Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

        We are in the beginning of a mass extinction. - Greta Thunberg

        1 Reply Last reply
        0
        • B Behzad Sedighzadeh

          We have been developing an industrial SCADA application for the the last 15 years( more than 200 KLOC ). At the beginning we were sure we can run our software on both Linux and Windows. With the decision of Microsoft to not support dotnet core + Winforms on Linux, we finally came to conclusion that it is time to migrate to a new technology. Now, 2 choices comes to mind: 1-Qt 2-GTK. We have zero knowledge in both of them or any other library. Community seems to prefer GTK. Which technology or another one would you recommend for the GUI part of our program? Decision will be made based on these criteria in order of importance: 1- Long and active Community support ( At least the next 10 years ) 2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible 2- Fair amount of library and 3rd-party controls 3- Modern Looking Controls 4- Good IDE Support Happy Christmas to all. cheers Behzad

          Behzad

          Graeme_GrantG Offline
          Graeme_GrantG Offline
          Graeme_Grant
          wrote on last edited by
          #4

          Have you had a look at Avalonia UI[^]? As for MAUI, this thread does not show much promise: First class Linux support developed by Microsoft · Discussion #339 · dotnet/maui · GitHub[^] Blazor running as an Electron app is another option...

          Graeme


          "I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee

          “I fear not the man who has practised 10,000 kicks once, but I fear the man who has practised one kick 10,000 times.” - Bruce Lee.

          B 1 Reply Last reply
          0
          • B Behzad Sedighzadeh

            We have been developing an industrial SCADA application for the the last 15 years( more than 200 KLOC ). At the beginning we were sure we can run our software on both Linux and Windows. With the decision of Microsoft to not support dotnet core + Winforms on Linux, we finally came to conclusion that it is time to migrate to a new technology. Now, 2 choices comes to mind: 1-Qt 2-GTK. We have zero knowledge in both of them or any other library. Community seems to prefer GTK. Which technology or another one would you recommend for the GUI part of our program? Decision will be made based on these criteria in order of importance: 1- Long and active Community support ( At least the next 10 years ) 2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible 2- Fair amount of library and 3rd-party controls 3- Modern Looking Controls 4- Good IDE Support Happy Christmas to all. cheers Behzad

            Behzad

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            Behzad Sedighzadeh wrote:

            Long and active Community support ( At least the next 10 years )

            The "next" 10 years? If you can predict the future you might want to look into other business opportunities. But other than that I like to look for the number of posts by different people to code updates and responding to questions. That gives a better idea of how well it is supported versus looking at something like how many releases there are.

            1 Reply Last reply
            0
            • B Behzad Sedighzadeh

              We have been developing an industrial SCADA application for the the last 15 years( more than 200 KLOC ). At the beginning we were sure we can run our software on both Linux and Windows. With the decision of Microsoft to not support dotnet core + Winforms on Linux, we finally came to conclusion that it is time to migrate to a new technology. Now, 2 choices comes to mind: 1-Qt 2-GTK. We have zero knowledge in both of them or any other library. Community seems to prefer GTK. Which technology or another one would you recommend for the GUI part of our program? Decision will be made based on these criteria in order of importance: 1- Long and active Community support ( At least the next 10 years ) 2- Would prefer Open-Source one, so bugs and security holes get patched as soon as possible 2- Fair amount of library and 3rd-party controls 3- Modern Looking Controls 4- Good IDE Support Happy Christmas to all. cheers Behzad

              Behzad

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

              Qt - professional quality but pricey. GTK - open source and very good but not automatically portable (been awhile since I used it) Both have decent graphics.

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

              1 Reply Last reply
              0
              • Graeme_GrantG Graeme_Grant

                Have you had a look at Avalonia UI[^]? As for MAUI, this thread does not show much promise: First class Linux support developed by Microsoft · Discussion #339 · dotnet/maui · GitHub[^] Blazor running as an Electron app is another option...

                Graeme


                "I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee

                B Offline
                B Offline
                BillWoodruff
                wrote on last edited by
                #7

                If you have develped apps with Avalonia, I, and I am sure others, would appreciate a CP article. cheers, Bill

                «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                Graeme_GrantG 1 Reply Last reply
                0
                • B BillWoodruff

                  If you have develped apps with Avalonia, I, and I am sure others, would appreciate a CP article. cheers, Bill

                  «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                  Graeme_GrantG Offline
                  Graeme_GrantG Offline
                  Graeme_Grant
                  wrote on last edited by
                  #8

                  BillWoodruff wrote:

                  If you have developed apps with Avalonia, I, and I am sure others, would appreciate a CP article.

                  Avalonia looks like it is based on XAML. UNO is also XAML-based web UI. Could use that too. I have not but I will accept the challenge. There is an old app, WinForm using VB, that was coded almost 20 years ago that I have been meaning to update and do an article on with: Blazor, WPF, Winform, & MAUI. I will add Avalonia & UNO to the list.

                  Graeme


                  "I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee

                  “I fear not the man who has practised 10,000 kicks once, but I fear the man who has practised one kick 10,000 times.” - Bruce Lee.

                  B 1 Reply Last reply
                  0
                  • Graeme_GrantG Graeme_Grant

                    BillWoodruff wrote:

                    If you have developed apps with Avalonia, I, and I am sure others, would appreciate a CP article.

                    Avalonia looks like it is based on XAML. UNO is also XAML-based web UI. Could use that too. I have not but I will accept the challenge. There is an old app, WinForm using VB, that was coded almost 20 years ago that I have been meaning to update and do an article on with: Blazor, WPF, Winform, & MAUI. I will add Avalonia & UNO to the list.

                    Graeme


                    "I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee

                    B Offline
                    B Offline
                    BillWoodruff
                    wrote on last edited by
                    #9

                    "I will add Avalonia & UNO to the list." I may not live long enough to see that.

                    «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                    Graeme_GrantG 1 Reply Last reply
                    0
                    • B BillWoodruff

                      "I will add Avalonia & UNO to the list." I may not live long enough to see that.

                      «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                      Graeme_GrantG Offline
                      Graeme_GrantG Offline
                      Graeme_Grant
                      wrote on last edited by
                      #10

                      BillWoodruff wrote:

                      I may not live long enough to see that.

                      Are you still alive and kicking old friend? I have an article that I am finishing up that will cover WinForms, Wpf, and Avalonia. Avalonia was never intended, however, I remembered our conversation, so I added it just for you and for my own curiosity. I have common code for all 3 project types as well as specific to the project type, specifically Control Libraries. Surprisingly, there are very few differences between WPF & Avalonia. A couple of annoyances but it is still early days for Avalonia. I am very impressed. NOTE: Both are Dot Net Core built. The Avalonia Project I have compiled and run on both Windows and MacOS. I have an animated GIF of the MacOS version for those who don't have MacOS. When I add a GUI Linux version to my WSL, I'll compile and run it there too and post an update with a GIF for that too... Here is the XAML for WPF:

                      And here for Avalonia:

                      Spot the difference! 😛 The article and supporting code will give you a chance to compare all 3. As for UNO, I wi

                      “I fear not the man who has practised 10,000 kicks once, but I fear the man who has practised one kick 10,000 times.” - Bruce Lee.

                      B 1 Reply Last reply
                      0
                      • Graeme_GrantG Graeme_Grant

                        BillWoodruff wrote:

                        I may not live long enough to see that.

                        Are you still alive and kicking old friend? I have an article that I am finishing up that will cover WinForms, Wpf, and Avalonia. Avalonia was never intended, however, I remembered our conversation, so I added it just for you and for my own curiosity. I have common code for all 3 project types as well as specific to the project type, specifically Control Libraries. Surprisingly, there are very few differences between WPF & Avalonia. A couple of annoyances but it is still early days for Avalonia. I am very impressed. NOTE: Both are Dot Net Core built. The Avalonia Project I have compiled and run on both Windows and MacOS. I have an animated GIF of the MacOS version for those who don't have MacOS. When I add a GUI Linux version to my WSL, I'll compile and run it there too and post an update with a GIF for that too... Here is the XAML for WPF:

                        And here for Avalonia:

                        Spot the difference! 😛 The article and supporting code will give you a chance to compare all 3. As for UNO, I wi

                        B Offline
                        B Offline
                        BillWoodruff
                        wrote on last edited by
                        #11

                        thanks, Graeme ! alive yes; kicking limited by having to walk slowly on a walker, extreme weight loss. look forward to your article. cheers, Bill

                        «The mind is not a vessel to be filled but a fire to be kindled» Plutarch

                        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