Through Thorns to Cross‑Platform: Porting a WPF App to Avalonia
summary
A WPF-based vector editor (Lunacy) was ported to the cross-platform Avalonia UI framework to run on Windows, macOS and Linux. The talk explains the six-month porting process: practical steps, common pitfalls and workarounds, trade-offs made, Avalonia’s production readiness, issues around distributing apps (including store publication), and the current state of WebAssembly support.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 2:09Product overview
- 6:27Need for cross-platform
- 8:11WPF abandoned
- 13:42Avalonia chosen
- 18:22Avalonia overview
- 24:26Preparing port
- 27:46Porting starts
- 28:51XAML and controls
- 33:26Triggers issues
- 35:53DataTemplateSelector
- 37:41Converters and virtualization
- 41:52Dialogs and popups
- 43:19WPF improvements
- 45:25IDE and tooling
- 47:10Porting timeline
- 48:13MacOS surprises
- 51:04AppStore publishing
- 53:58Linux and M1 surprises
- 55:44Testing and debugging
- 57:53Performance issues
- 1:00:21WebAssembly porting
- 1:03:34WebAssembly limits
- 1:06:23Conclusion
