9 UI Frameworks for .NET Desktop App Development [2024]

  Рет қаралды 32,398

Claudio Bernasconi

Claudio Bernasconi

Күн бұрын

Пікірлер: 86
@sealsharp
@sealsharp 2 ай бұрын
I work with WinForms a lot and it's got some really heavy flaws: * It was never made with UI scaling in mind, so all attempts to deal with that are non-perfect. * It's layout system is designed around bounding boxes which severely limits what can be done visually in terms of transparency, positioning, overlap etc. The event driven architecture does not fit well with animations and it's software rendered. So, why is it still great? * it is the UI with the smallest overhead because it's just wrapper classes around windows elements. * it's visual simplicity around bounding boxes makes it totally fine to be software rendered * it's software rendered which means it is so easy to custom draw controls and content and it has no complications from remote access. * it's all C#, no xml no xaml, no javascript, no html, no css required to design a ui. Winforms is still heavily used in industrial automation because practical application design is constrained in the use of colors (red =error, yellow=warning, green = fine, white|black|grey = neutral) and no one gives a shit about the beauty of a liquid-like mouseover on a beautiful button over an acrylic glass background. WPF never really got to replace WinForms there because the separation of roles (Coders code, designers design XAML) does not exist in that space and because of its simplicity, WinForms has more components available than WPF. Everything after WPF could not replace WinForms because all the ways to design Windows-APPs creates apps that behave like apps in an app container with minimized access to native resources and minimal control over their own state which makes it impossible to use for an industrial application. Winforms is and will probably stay the workhorse for a lot of unsexy but useful applications that will never shine on any stage.
@ClaudioBernasconi
@ClaudioBernasconi 2 ай бұрын
I love your detailed comment and all your explanations! What a piece. Happy to pin this answer!
@randypenajimenez3893
@randypenajimenez3893 19 күн бұрын
Winforms is still king. I have used WPF, Avalonia, MAUI, UWP, above all i choose Winforms
@nickbarton3191
@nickbarton3191 10 күн бұрын
The worst thing about Winforms is that it's not cross-platform. The next worse thing is it's stuck at 4.8. Not viable for future proofing a product.
@FranciscoFaria888
@FranciscoFaria888 17 сағат бұрын
@@nickbarton3191 What you mean it's stuck in 4.8? It available in .net core since version 3.0. And it's open source.
@nickbarton3191
@nickbarton3191 16 сағат бұрын
@@FranciscoFaria888 Yeah you're right, it's just that it's hideous and Windows only. Didn't want to migrate my clunky desktop projects and needed cross-platform.
@3d2dMuke
@3d2dMuke 7 ай бұрын
Thanks for the video. I would recommend adding some sort of separator between video sections for your next video, as to clearly tell the user you will be switching to another UI system
@ClaudioBernasconi
@ClaudioBernasconi 7 ай бұрын
Great suggestion! I will keep it in mind for my next video with this style. Thanks for watching.
@yourname_1101
@yourname_1101 7 ай бұрын
Excelent video, I was searching for a good UI for Linux and Windows apps, Thanks!
@pakkerto
@pakkerto 6 ай бұрын
avalonia ui
@marna_li
@marna_li 9 ай бұрын
What is great with Uno is that it is a cross-platform port of WinUI that fills important gaps for the Windows-only technology. Now being able to target other platforms, in particular mobile, with one app platform.
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
Great to hear it works for you. Thanks for sharing your experience with the community.
@emmadkareem5247
@emmadkareem5247 7 ай бұрын
Excellent video. Your video should be viewed for anyone who wants to get into Computer Science!!! The future is !!!!
@collynchristopherbrenner3245
@collynchristopherbrenner3245 7 ай бұрын
Solid overview, I appreciate this a lot! I have been attached to using HTML/CSS for front-end but with my choice to code primarily in C# it is looking like Blazor Hybrid MAUI is not ready and that I need to go with XAML , either Avalonia UI or Platform Uno. I appreciate your link to the article as well! About to go read it.
@ClaudioBernasconi
@ClaudioBernasconi 7 ай бұрын
Glad it was helpful! Avalonia UI and Platform Uno are great choices! With Platform Uno you can now also define your UIs with C# markup instead of XAML. You can also look into Blazor Hybrid with WPF. With this combination, you have a solid technology (WPF), and the modern HTML/CSS UI framework with Blazor. I haven't tried this combination, but I know that it's possible to use it like that. So many choices - I hope you'll be able to find what works best for you.
@jxndwl
@jxndwl 9 ай бұрын
It worth to mention that Lunacy is powered by Avalonia ! Lunacy is Figma-like graphic design software, which can be run fluently on Avalonia on a Raspberry PI machine! This shows how good performance optimization of Avalonia is against WPF, thanks to the Skia. Chrome, Firefox and more are powered by Skia! AvaloniaUI + Meadow seems a good choice combination for IoT client project runs on embeded Linux device! Hardware grab money faster than software 😃
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
Thanks for sharing your experience and this interesting case study with us! I don't have much experience with Avalonia UI but I plan to change that in the future.
@TheVincent0268
@TheVincent0268 14 сағат бұрын
Thanks for this overview! In the past I have worked with Delphi, WinForms (Visual Basic and C#), WPF and Xamarin Forms. In a even more distant past with Access Forms. I lost track of desktop development since I work more with web apps and services now. What I always miss in a discussion about native Windows apps is how deployment is organized, especially auto updating. I have build msi files but never been part of a project where an app is semi-automatically distributed over the internet to many (known) end users. What would you suggest? To name some possible options: Chocolatey, Intune, WinGet, MS Store, Ansible, Squirrel, Omaha. And which of the app platforms you mentioned are compatible with these distribution channels? That would be a very interesting overview.
@ClaudioBernasconi
@ClaudioBernasconi 14 сағат бұрын
That's an interesting topic. Noted for future videos. I know that ClickOnce deployment worked well for some time, but I don't know if that is still the case. I would definitely look into what's currently used within the industry before making a decision. Again, it's an interesting topic to explore, and I won't make any suggestions before I educate myself on the topic. Thanks for your understanding.
@DeepWorksStudios
@DeepWorksStudios 9 ай бұрын
Maui is definitely not production ready for real world applications that may get more complex than the samples from Microsoft. I’ve been using it since it’s GA Release back 2022 and I’ve been reporting since that day multiple issues. I still got hope but it’s hard to believe this should be used in real world projects at this stage of the framework.
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
Thanks for sharing your real-world experience. Let's hope it will change in the future. I know many talented developers are working on resolving the most important issues right now.
@donald7941
@donald7941 8 ай бұрын
I agree with you 100%. I made the mistake of developing a production app with MAUI. At first it worked well, but it has not scaled well, and has so many framework level errors that have introduced very obscure, and almost impossible to debug problems.
@Varomic
@Varomic 7 ай бұрын
I agree 100% too MAUI needs more work because of its many issues and bugs it’s not ready and should be developed more by Microsoft
@whatinthebloodyhell
@whatinthebloodyhell 7 ай бұрын
MAUI did improve a lot in recent releases though.
@donald7941
@donald7941 7 ай бұрын
@whatinthebloodyhell I haven't MAUI in maybe 2 months, I'll have to try with the more recent release. One problem is there's some issues that occur because the project was started with an older version. Mostly got those issues cleaned up but overall it's been a painful process the past year and a half
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
What is your preferred UI Framework for .NET desktop application development? 🤔
@quantume7143
@quantume7143 9 ай бұрын
Blazor hybrid
@evelop3625
@evelop3625 9 ай бұрын
Blazor Hybrid
@99MrX99
@99MrX99 9 ай бұрын
I really like Avalonia 😊
@pakkerto
@pakkerto 8 ай бұрын
WinUi 3
@Al-mansur1999
@Al-mansur1999 7 ай бұрын
imgui
@allinvanguard
@allinvanguard 9 ай бұрын
Great collection. What is your take on Blazor PWA? I'm a web developer, so I don't have much exposure to the desktop field, but I'm curious what the current opinion on desktop PWAs is?
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
Great question! 🤔 I haven't worked with PWAs in production. I believe they have their place but I don't know what their current state is. For me, it often makes sense to have a native (desktop) app or a regular web app (Blazor). PWA adds optional functionality but I wouldn't bet on users' having all those features enabled in all browsers.
@adam-xt8te
@adam-xt8te 2 ай бұрын
No sample applications? Why this video exists?
@RoadTalksByRizwan
@RoadTalksByRizwan 3 ай бұрын
What a ZOMBIE Accent. DUDE! you forgot to BLINK😂
@ClaudioBernasconi
@ClaudioBernasconi 3 ай бұрын
I appreciate your feedback. 😉
@francoislepron2301
@francoislepron2301 5 ай бұрын
I am interested in Uno or Avalonia because I have to develop applications for embedded devices running a Linux OS (Yocto TorizonOS). Uno seems to work pretty well on an arm64 bits processor with a small touchscreen 7''.
@OmbasaMukhwami
@OmbasaMukhwami 9 ай бұрын
I have mostly used winforms
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
WinForms has been great and still does it's job in many cases. 👍
@tmlyrical4298
@tmlyrical4298 4 ай бұрын
Which I use Avalonia Or Uno ? Beginner ( not recommend easy - i only focusing in future also to get profit and stable on one )
@Att4ni
@Att4ni 7 ай бұрын
Very informative, thank you! Can you use these with Windows Powershell, since it is technically based on .NET?
@ClaudioBernasconi
@ClaudioBernasconi 7 ай бұрын
I don't know about that, I'm sorry. Try it and let us know if it worked. 😉
@Gusmdq33
@Gusmdq33 3 ай бұрын
Thank you very much for the video, very very good ;) I would like to ask you, I am a visual basic programmer and I was asked to create a stock management and billing program for the desktop but that can be used from the cell phone. What would be the best Avalonia platform? Or which one do you think is the most appropriate? Kind regards.
@ClaudioBernasconi
@ClaudioBernasconi 3 ай бұрын
@@Gusmdq33 thanks. Maybe Avalonia or Platform Uno. Blazor Hybrid is also an option if you prefer HTML and CSS over XAML.
@Gusmdq33
@Gusmdq33 3 ай бұрын
Thank you very much for your prompt response ^_^ I have had good comments about Blazor, it would be something interesting to investigate. I consult you again. Can Blazor use the full potential of WPF to make a desktop application? Or what would be the essential basis for choosing it. Thanks for your time. Kind regards.@@ClaudioBernasconi
@TerryWalker-q6x
@TerryWalker-q6x 7 ай бұрын
Agree MAUI is not production ready. Blazor is good. Avalonia UI is good.
@ClaudioBernasconi
@ClaudioBernasconi 7 ай бұрын
Thanks for sharing your experience with us.
@tensorfly4508
@tensorfly4508 8 ай бұрын
part_1 But how about using
@tensorfly4508
@tensorfly4508 8 ай бұрын
part_2 .NET
@tensorfly4508
@tensorfly4508 8 ай бұрын
part_3 for native
@tensorfly4508
@tensorfly4508 8 ай бұрын
part_4 Android development?
@tensorfly4508
@tensorfly4508 8 ай бұрын
part_5 If I'm not mistaken
@tensorfly4508
@tensorfly4508 8 ай бұрын
part_6 MAUI is a successor of Xamarin Forms, not Xamarin Native.
@gofudgeyourselves9024
@gofudgeyourselves9024 9 ай бұрын
Please do a WinUI3 course with zero to mastery
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
Thanks for the recommendation. I will consider it. I'm glad you enjoy Zero To Mastery! 👍
@gofudgeyourselves9024
@gofudgeyourselves9024 9 ай бұрын
@@ClaudioBernasconi Please do a proper lengthy course on WinUI3, there are no courses for it anywhere
@gofudgeyourselves9024
@gofudgeyourselves9024 9 ай бұрын
Flutter & React Native
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
It's probably a great alternative for desktop app development. However, the goal of this video was to provide an overview of different .NET-based solutions. 😏
@gofudgeyourselves9024
@gofudgeyourselves9024 9 ай бұрын
Isn't UWP deprecated?
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
Great question. I didn't understand that UWP is "fully" deprecated when recording the video. It seemed like you can still develop apps but there won't come new features. However, after digging deeper because of your comment, it seems like a migration to WinUi 3 using the Windows App SDK is recommended. 👍
@gofudgeyourselves9024
@gofudgeyourselves9024 9 ай бұрын
@@ClaudioBernasconi Thanks for the reply
@GuildOfCalamity
@GuildOfCalamity 9 ай бұрын
Would love to see you do some WinUI3 tutorials.
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
It is not on top of my list right now, but we'll see. Thanks for your recommendation.
@timdion9527
@timdion9527 20 күн бұрын
Avalonia is really nice.
@tensorfly4508
@tensorfly4508 8 ай бұрын
Test.
@trueblue97
@trueblue97 7 ай бұрын
Very informative, thanks!
@ClaudioBernasconi
@ClaudioBernasconi 7 ай бұрын
Thanks for letting me know. 🙂
@trueblue97
@trueblue97 7 ай бұрын
@@ClaudioBernasconi No worries!
@MegaToyy
@MegaToyy 9 ай бұрын
Not too bad😊
@ClaudioBernasconi
@ClaudioBernasconi 9 ай бұрын
You too, my friend!
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 196 М.
Starting .NET MAUI Development in 2024 - What You Need To Know
35:18
James Montemagno
Рет қаралды 70 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 64 МЛН
Ozoda - Lada (Official Music Video)
06:07
Ozoda
Рет қаралды 10 МЛН
Is LEARNING WPF still WORTH it in 2023?
10:59
tutorialsEU
Рет қаралды 51 М.
Linus Torvalds: Speaks on Hype and the Future of AI
9:02
SavvyNik
Рет қаралды 208 М.
you need to build a RUST desktop app!!
27:21
Travis Media
Рет қаралды 314 М.
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 71 М.
Is WPF Dead? - The Current State of WPF [2023]
7:05
Claudio Bernasconi
Рет қаралды 42 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 78 М.
Make Beautiful Desktop Applications in C++
25:51
The Cherno
Рет қаралды 593 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 73 М.
Is There Hope For .NET MAUI?
7:10
SingletonSean
Рет қаралды 28 М.