We're debating whether our future Windows UI development should be WinForms or WPF. How have some of you made this decision? Most of our applications are LOB applications, and I'm not sure I see a clear and overwhelming benefit to WPF for these types of applications. However, my knowledge of WPF is limited. I'm also a little concerned that WPF will be in vogue for another couple years and then Microsoft will get tired of it and push something else on us. I guess one argument against this is the fact that Visual Studio 2010 is a WPF application.
Thanks.
Yes. WPF is probably still the best technology out there for building Desktop Applications. It is extremely powerful for creating any PC business based application and there are businesses that still use applications that were written in this technology.
WPF's BenefitsCreate your own UI controls with limitless possibilities and flexibility. In a multi-resolution setting, scalability is beneficial. Reusability of code. Controls with highly efficient and powerful data-binding capabilities.
Now this is a big thing coming from Microsoft where it is making a move from WPF to . NET Core. This move clearly explains that Microsoft sees a future in WPF and considers it as a UI framework for the . NET platform.
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.
There are a lot of factors to consider here.
Reasons not to choose WPF:
Reasons to choose WPF:
Personally, if I were starting a Windows desktop app now, I would choose WPF. However, I've already climbed the learning curve. For a team that doesn't have WPF experience, the cost of taking it on must be a greater factor than it is for me.
One thing to bear in mind is Silverlight. Is it possible that you'll want to write your application to be run from a browser in the future, or possibly even from a Windows Phone 7 device? While Silverlight and WPF aren't quite the same, they're extremely similar. This would be my primary "future-proofing" argument in favour of WPF.
Personally I like the composition model of WPF - as well as a declarative way of representing the UI, and a better layout system than WinForms. Not that I'm a UI guy, really.
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