3 ms·
This is both a fair comment and a little misleading at the same time. It is more of a communication problem really. For desktop apps, there has been Windows Fo
by LeFantome 2y ago
This is both a fair comment and a little misleading at the same time. It is more of a communication problem really.
For desktop apps, there has been Windows Forms, WPF, WinRT, UWP, and now WinUI. You could even argue that MAUI is the latest.
Sounds like a lot! And it is.
That said, it is more of a naming and communication problem than a technology one.
Things like Qt and GTK have undergone similar or even worse disruption but it does not seem as bad because of the naming.
Take WinUi. It is really the exact same GUI API as UWP. Mostly a namespace change. And UWP was just an attempt to bring the WinRT API to more platforms. The Open Source UNO Project allows you to use WinUI cross-platform.
And even in MAUI, it uses WinUI on Windows.
Really, the C# GUI API for desktop apps has not changed since 2012 ( Windows 8 ).
And the core UI concept is XAML with bindings and MVVM. Those were all introduced with WPF way back in 2006. While WinUI and WPF are not the same API, they are not so different from a dev perspective ( use not architecture ).
And of course WPF is still supported. In fact, Windows Forms is not only fully supported but gets updates now and then. Windows Forms was released in 2002. You can start a new app in Visual Studio today on the latest .NET that uses the same GUI framework as an app in 2002! That is actually some pretty damn impressive UI framework stability when you think about it.
Now detractors may be screaming. What about Silverlight? Or Xamarin Forms, or Blazor? Or Web Forms?
Well, I am not going to make this longer going through web frameworks. I hope we can all agree there has been a lot of churn there on every stack. That said, Web Forms, introduced in 2001 are still supported! ( on .NET Full Framework ).
And on mobile, Xamarin Forms is just the old name for MAUI. This also uses XAML, so it has a lot in common with everything from WPF to WinUI.
Anyway, I wish it was all better too. But it is not as bad as it seems. Mostly, Microsoft just sucks at naming and messaging.