I'm in the process of learning C# and have a firm grasp of Java, and almost two decades ago VB6. I'm jumping straight into Windows desktop applications and wonder what alternatives there are to WPF?
Anything recent, that would be more relevant to spend time learning?
I did find a thread here, but wonder if there has been any changes. For instance, Silverlight is all, but seemingly abandoned.
Background: I hold a BS degree in Computer science, but it has been about 5-years since I have been in the technology industry and would like to jump back into a programming career. As a start I would like to build a portfolio.
Universal Windows Platform. Both Windows Forms and WPF are old, and Microsoft is pointing developers towards its Universal Windows Platform (UWP) instead. UWP is an evolution of the new application platform introduced in Windows 8 in 2012.
NET MAUI is intended to unify and replace technologies like WPF. UWP or Xamarin.
This move clearly explains that Microsoft sees a future in WPF and considers it as a UI framework for the . NET platform. Microsoft has really invested a lot in WPF by making it open source and making it work on . NET Core.
It's not dead or on life support. WPF is still one of the most used app frameworks in use on Windows (right behind WinForms).
In general, WPF is the best option for Desktop development on Windows. There is nothing else that comes close.
The main "alternative" would be if you wanted to target Windows Store applications, in which case you'd use the Windows Store development model. This is still XAML based (as are all of the new Microsoft UI technologies), so WPF knowledge transfers over fairly well.
If you are solely looking at c# native UI development, I think your only alternative would be WinForms. Personally I think that WPF is a lot more flexible and easier to work with when you get a grasp on it, and it's very friendly to expansion if you want to write your own extensions. WinForms can arguably be more basic and easy to learn, but you won't achieve the same level of flexibility and extension.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With