this post was submitted on 14 Jun 2023
11 points (100.0% liked)

.NET

1484 readers
6 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 1 year ago
MODERATORS
 

What are your opinions about Avalonia? It runs on Windows, Mac, Linux, Android, iOS and WebAssembly, with the mobile platforms being in a more immature state as support was added recently.

MAUI is the continuation of Xamarin.Forms, while Avalonia is the spiritual successor to WPF, albeit open-source and cross-platform. MAUI uses platform-native controls (which means the same control may appear or behave differently between operating systems), while Avalonia builds everything with Skia, so it renders the same in every platform. I think of it as the .NET alternative to Flutter, though with a more desktop-centric focus, instead of being mobile-first.

I have not used it yet but it seems the most promising .NET UI framework and I'm hoping to build a personal project in the following months. The first Release Candidate of Avalonia UI v11, which stabilises the API, was released two weeks ago.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago

I really like it. It is a great framework and it is pleasant working with.

I have been a developer on the Windows desktop for over 20 years and have seen a lot. In recent years, I did a lot of WPF. Line-of-business applications mostly and some custom controls. But WPF is Windows only, which bothered me a lot.

So I was very interested in AvaloniaUI right from the start. It was a rough experience with the early versions but with 0.10 it matured a lot and I did not hit any major issues since then. Version 11 now feels quite polished and complete. Documentation is still scarce unfortunately but the library code is excellently written and well designed so you can find your way around. This is mostly a challenge when you are writing controls yourself though, because there you need to get in touch with the internals. Knowledge from WPF translates well to AvaloniaUI and where there are differences, they are usually improvements.

Desktop applications run effortlessly on Windows/Linux/MacOS, so I am happy. 10/10 would recommend! (I have no experience with AvaloniaUI and mobile/web).