AvaloniaUI / avalonia-docs

https://docs.avaloniaui.net/docs/welcome
62 stars 208 forks source link

Add Detailed Porting Guide #65

Open robloo opened 1 year ago

robloo commented 1 year ago

I've started to do a more detailed look at porting a UWP/WinUI app over to Avalonia and think a detailed guide would be useful (several apply to WPF as well). Below I'll collect the things I've found so far in the hopes of adding a dedicated page to the docs eventually.

XAML

Code-Behind

Other

Note: I might complete a base version of this for my own public docs repository. We'll see. Just collecting things here for now.

robloo commented 1 year ago

@maxkatz6 @grokys @kekekeks @danwalmsley Just FYI as it might be good to read through this before 11.0. Still a work-in-process but this list is made from looking at WinUI code in prep for a port.

The showstoppers for app migration WinUI -> Avalonia and most pain points (like CornerRadius, etc.) have been fixed. Only smaller things and differences are above.