10 ms·
>Aside: what do you .NET folks use nowadays? Winforms lol, it just works and I don't have to spend most of my time trying to work out xaml stuff. Just add the
by voidUpdate 2y ago
>Aside: what do you .NET folks use nowadays?
Winforms lol, it just works and I don't have to spend most of my time trying to work out xaml stuff. Just add the components to the window, set up some event handlers, done
- neonsunset 2y agoAvaloniaUI is nice and a commonly recommended choice nowadays if you are targeting desktop. It is interesting that the author chose to use Elm to describe C# code. If it is their preference, they could have gotten all that with writing the "core" of the project with F#, without having to change examples neither in the actual implementation nor in the blog post (the author does mention F# but not whether they looked into using it).
- mjaniczek 2y agoYeah, I do have some passing experience with both F# and C#, and since the example code provided by the university was in C#, I kept that code and built on it. But I would have felt better in F#.
- neonsunset 2y agoThat's fair, thanks! There's an Elmish FuncUI extension for Avalonia that lets you write applications in Elm style: https://github.com/fsprojects/Avalonia.FuncUI/tree/master/src/Examples/Elmish%20Examples https://github.com/fsprojects/Avalonia.FuncUI/tree/master/sr... (a caveat applies that it is very niche compared to regular Avalonia let alone WinForms or WPF, so the options for idiomatic graphing ui controls might be scarce)
- oblio 2y agoInteresting, last time I looked at it, it was early alpha or something, a few years ago. I wonder how the mobile support is.
- interludead 2y agoA sensible decision indeed
- InDubioProRubio 2y agoBut have you tried the NET(X)BigTHING framework for GUI? Its a chain of hype-(r-links) forming a gui..
- JackMorgan 2y ago... and it works on every platform from BlackBerry, iPhone, MacOS, Windows, Linux, desktop, and mobile! Has lots of tools to handle different resolution sizes and alternate languages! Of course it's often a little less performant and requires Learning New Things. But generally the trade-off is worth it for the significant benefits if you want to share it with the most people.
- InDubioProRubio 2y agoIf it is adapted, by most people, which is not, because the company internal software graveyard calls for these frameworks
- JackMorgan 2y agoUnironically I use React or htmx with Typescript if I need a UI in front of dotnet. Having spent far too long dealing with all the dotnet thrash, all to build a GUI that only works on Windows desktops, I said enough is enough and learned how to build a web front end. Best decision ever. I know plenty of dotnet folks who would rather eat a shoe than learn how to build a web front end, but frankly it's still better than what I would get with Winforms. There's so many great free libraries, tutorials, and resources for webdev. And best of all, now I have something I can host on a free GitHub site and share with people, instead of figuring out how to build an installer.