C
C#14mo ago
yumo

❔ Desktop Applications

Hi, i'm looking to know wich GUI should i use for my desktop application? The app is for business purposes and i wanted to know what should i need to use for efficiency and performance. If could be Free it was better , but even paid i would love to try something! Please share your experience with me, i'm trying to know more about desktop applications and being a better Software Developer! (I've made this post here because i've been coding in C# WinForms for two years almost)
24 Replies
Buddy
Buddy14mo ago
If it is a commercial product then you want a stable GUI Framework. I would use WPF, all the other frameworks are either outdated or just generally bad. WPF is XAML based and way faster than WinForms It is however a Windows-only framework.
yumo
yumoOP14mo ago
I was watching something about WPF and also made some simple apps with it , might start with it. What's your opinion about Electron tho?
Buddy
Buddy14mo ago
If you know me then you know that I hate web apps. They are generally a lot slower than native apps. Also #1 resource waster.
yumo
yumoOP14mo ago
What I want here is something that also looks good and WinForms, it can look good but with paid Frameworks , like Guna etc. I've tried Avalonia also but it wasn't what i was looking for
Buddy
Buddy14mo ago
Don't waste time and money to make winforms look good. $wpfuilibs
Buddy
Buddy14mo ago
I personally like Material Design, but that's me.
yumo
yumoOP14mo ago
Is WPF dead as some people say?
Buddy
Buddy14mo ago
Avalonia is my favorite GUI Framework for .NET, but it is not that stable to be used commercially in my opinion. Unity does use Avalonia for Plastic CSM untrue
yumo
yumoOP14mo ago
I was watching the above links and i also liked Material Design and WPFUI (Windows 11 inspired)
UltraWelfare
UltraWelfare14mo ago
You can do Blazor Hybrid (although that's still web 😆 )
Buddy
Buddy14mo ago
catree
UltraWelfare
UltraWelfare14mo ago
tbh Blazor Hybrid isn't as wasteful as Electron. I see in my most data intensive moment of my app it hovers around 50-200mbs (and I assume most of it is due to loading a lot of entities... since in pages like settings etc it hovers around 50-80mbs (plus there's also an ASPNET Core server running alongside) (and also that's in Debug configuration :P)
Buddy
Buddy14mo ago
MAUI is sh*t though Waste of time trying to make an app in that framework which is such a buggy mess.
yumo
yumoOP14mo ago
I did not talk about blazor because he said that he did not liked web apps kekw what i did not liked in Electron
UltraWelfare
UltraWelfare14mo ago
Where does MAUI come into what I've said ? 🤔 You can incorporate blazor hybrid in WPF and winforms too In our case it's winforms, and it's working wonderfully so far
Buddy
Buddy14mo ago
I see. Well then what is the point? - "It's not as bad as electron" How about native? Still far worse, especially for a commercial product. If what they want is performance then WPF is the way to go. No web tech and no winforms.
UltraWelfare
UltraWelfare14mo ago
Yeah native is the best option. I just personally couldn't handle the huge amounts of XML and undocumented stuff hahaha
Buddy
Buddy14mo ago
Web tech is great for cross-platform, but if you want performance, then no. Don't use web tech, prefer native.
UltraWelfare
UltraWelfare14mo ago
It's also great when you have a team of web engineers rather than desktop engineers that want to make a desktop app You can't afford to learn them something new or pay new hires Sometimes it's just how it is But no one can deny that native is the most performant option You must be very delulu to believe that
yumo
yumoOP14mo ago
The thing about where i work is that i do everything alone , and tbh is frustrating af
UltraWelfare
UltraWelfare14mo ago
Also another great point of web tech is the massive style libraries available You can pretty much have anything at your hands in whichever style you want at 0 cost development time Since there are more people at hand with web... You just gotta weight the cost of time / development/ resources and pick your poison You can't have a truly good solution for everything To give an example for this, an autocomplete async multi select control must be hell for WPF/WinUI or whatever desktop technology you have In most web component libraries this is already solved And the way to wire it up is easier (or to make it from scratch yourself) I've a year of experience with WPF and I tried a bit of avalonia too, so I'm speaking from my personal experience Maybe someone can correct me
yumo
yumoOP14mo ago
tbh i can't code in others code i rather do all from scratch
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server