awesome-avalonia
Avalonia.FuncUI
Our great sponsors
awesome-avalonia | Avalonia.FuncUI | |
---|---|---|
6 | 20 | |
1,786 | 846 | |
7.9% | 3.2% | |
7.7 | 8.3 | |
7 days ago | 4 days ago | |
F# | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-avalonia
-
AvaloniaUI: Create Multi-Platform Apps with .NET
WPF and Xamarin dev here who wrote a new (not ported) codebase on Avalonia.
- Avalonia has a guide just for people like you and me [1].
- Avalonia's flavor of XAML has small divergences from WPF that will have you hitting their docs often. There are some nice quality-of-life improvements, for example you can bind a Button click handler directly to a method without ICommand. The major concepts are the same e.g. data binding, dependency properties.
- Coming from WPF, it's possible you've used MVVM and dependency injection. You'd be going against a strong cultural grain to not use them in Avalonia. But I would be surprised if your WinForms app is architected remotely similarly, so it may be a design challenge extracting coherent ViewModels and properties from the ball of mud that many WinForms apps become.
- For macOS, read up on notarization [2] and, if you're publishing to the Mac App Store, the review process.
- I recommend starting with example apps (look in the Showcase) or with the Avalonia template solution which just runs out of the box.
- The Avalonia team iterates quickly. Expect to upgrade NuGets frequently, and don't get too far behind. There was recently a big jump from version 10 to 11. Good for you for starting after that.
- Not Avalonia specifically but if you're not used to .NET Core check out #nullable enable. Can't live without it now, but was confusing at first.
- Be sure to check out all of the official and community libraries [3]. I bet my design big on `ReactiveUI` and it's gone well.
[1] https://docs.avaloniaui.net/docs/get-started/wpf/
[2] https://docs.avaloniaui.net/docs/deployment/macOS
[3] https://github.com/AvaloniaCommunity/awesome-avalonia
-
So Xamarin.Forms is close to end of support, while MAUI is not really production ready, what shall I do?
I hear you. We’ve a decent datagrid and a load of OSS components that you can find here.
-
Open source project that use avalonia
You can see a lot here and, for example, here
-
🤔 Thoughts on future of MAUI for desktop software? Comparing to WPF + personally weighing up "cross-platform desires" -vs- pragmatic productivity"
You can find more 3rd party controls here for example : https://github.com/AvaloniaCommunity/awesome-avalonia
-
If you were going to build a cross plat app in 2022 from scratch which would you pick architecturally speaking
More about Avalonia production apps here.
-
Modded games are the true last hurdle for Linux gaming
You could use Avalonia. This is xaml crossplatform and will be better supported than wpf. You can get the templates for dotnet new Avalonia. It's xaml, fast templates and there is a designer op github, can't fidn it atm. Some examples
Avalonia.FuncUI
- AvaloniaUI: Create Multi-Platform Apps with .NET
- Course using F#: Write your own tiny programming system(s)
-
ASP.NET Core Blazor
For those interested in .NET languages with alternative compilation targets, Elmish (https://elmish.github.io/elmish/) is pretty unique.
We use F# on the front end (instead of TS), and thanks to the Fable compiler (which transpiles F# to JS, Python, Dart, PHP and Rust), most of the benefits of an Elm-style model in the UI can be ported to all sorts of different outputs languages. The rust target is in beta, but its promising because the WASM bundle size stands to be dramatically lower.
While the default is reactivity library for Elmish is React, you can swap in Avalonia/FuncUI (https://github.com/fsprojects/Avalonia.FuncUI) pretty easily as well.
-
GUI development with Rust and GTK 4
The code to declare/build the widgets is quite nice. Modifying widgets by hand on certain signals or manually re-wiring all the signals seems a bit outdated to me.
Wonder if something like FuncUI [1] could be built on top of it.
[1] https://github.com/fsprojects/Avalonia.FuncUI
-
Desktop UI with F# web frameworks?
OTOH, if desktop really is the primary focus, and if you can drop the idea of reusable UI code, then Avalonia is a great choice for F# as you can use a Avalonia.FuncUI and/or Elmish.Avalonia.
- Functional cross platform UI in F#
-
Why does it seem like Microsoft is actively ignoring AvaloniaUI?
And one more MVU for you https://github.com/fsprojects/Avalonia.FuncUI
- Is Maui dead on arrival?
-
Ask HN: How to make a native GUI with a modern language?
You might want to check out Avalonia.FuncUI, which lets you use F# and the cross-platform Avalonia framework to build desktop applications with an Elm-like architecture: https://github.com/fsprojects/Avalonia.FuncUI#example-using-...
- Looking to write F# WinUI 3 stuff - does anyone have real world examples?
What are some alternatives?
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
Fabulous - Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
MySqlConnector - MySQL Connector for .NET
managed-midi - [Past project] Cross-platform MIDI processing library for mono and .NET (ALSA, CoreMIDI, Android, WinMM and UWP).
Jaya - Cross platform file manager application for Windows, Mac and Linux operating systems. (planned mobile support)
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
maui-linux - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Elmish.WPF - Static WPF views for elmish programs
avalonia-dotnet-templates - Avalonia Templates for `dotnet new`
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.