3 ms·
The problem with UWP is that there is no migration path from WPF. They are so different that you have to pretty much rewrite from scratch.
by maxxxxx 10y ago
The problem with UWP is that there is no migration path from WPF. They are so different that you have to pretty much rewrite from scratch.
- WorldMaker 10y agoMy experience is that there isn't as much to rewrite as most developers think. (But then I've had in the past to maintain Silverlight versions of WPF applications, so I'm biased.) If you are already using patterns like MVVM, databinding, service models, and keeping business logic separated from UI/UX logic, the transition should be mostly seamless from what I've seen outside of a few XAML tweaks (which are primarily fiddly details like namespace changes). In the case of more complicated migrations, you can now use the Desktop Bridge: https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-root https://docs.microsoft.com/en-us/windows/uwp/porting/desktop...
- maxxxxx 10y agoI tried to rewrite a WPF app when WinRT came up and it was hopeless. I'll admit I haven't looked at it again so maybe things have improved since then.