Live data from Hacker News

.NET MAUI: .NET Multi-Platform App UI

github.com

31–40 of 260 posts

Re: .NET MAUI: .NET Multi-Platform App UI

#31
post #2

Any direct experiences using this? I've been looking for a good multiplatform UI for desktop that does Mac/Linux/Windows. Mobile is a nice side benefit. It would be nice to use C# again No, I'm not interested in Electron. Blegh.

Unless something has changed recently, MAUI won't support Linux on release.

Re: .NET MAUI: .NET Multi-Platform App UI

#33
post #2

Any direct experiences using this? I've been looking for a good multiplatform UI for desktop that does Mac/Linux/Windows. Mobile is a nice side benefit. It would be nice to use C# again No, I'm not interested in Electron. Blegh.

FWIW, I'm in the same bucket and I'm leaning toward Blazor. There's a big push in .NET 6 to deliver "Blazor Desktop", which is essentially more native wrappers around Blazor Server: https://github.com/dotnet/aspnetcore/issues/27217

Might not fit your needs (it is bringing web technology to native apps, much like Electron) but I think it has more of a future than XAML. And the underlying technologies (Razor, Blazor Server) have been around for a while so you can get started now even if all the pieces aren't quite there.

edit: rereading the MAUI repo, it looks like hosting Blazor inside a MAUI app will be an option. Nice.

Re: .NET MAUI: .NET Multi-Platform App UI

#34

How likely will it be that F# is supported out of the box? I understand that this is a push for mobile but hopefully a linux support will be considered. https://github.com/jsuarezruiz/forms-gtk-progress/issues/31

F# will be supported out of the box insofar as it's always able to call into any .NET API.

For a more functional-friendly set of APIs, I've no doubt that the community will need about 5 minutes to put together a solid MAUI back-end for Elmish.

Re: .NET MAUI: .NET Multi-Platform App UI

#35
post #21
post #2

Any direct experiences using this? I've been looking for a good multiplatform UI for desktop that does Mac/Linux/Windows. Mobile is a nice side benefit. It would be nice to use C# again No, I'm not interested in Electron. Blegh.

IMO, Tk is by far the best for targeting multiplatform desktop. Qt is a close second and Gtk is "sticks out like a sore thumb, but works" I don't think Tk runs on iOS, which is why Tk is usually disqualified in "multiplatform" recommendations MAUI and Xamarin.Forms both have "okay" linux support last time I checked.

[deleted]

Re: .NET MAUI: .NET Multi-Platform App UI

#36
post #30

I'm an absolute huge fan of all things .NET but I'm honestly a little hesitant about MAUI for now. Just feels a little early and duct-tapped? I also had a poor experience with Xamarin years ago... Flutter is such a good experience for us right now. I'd love "Flutter but in C#" which I think is what they want to do with Xamarin.Forms. Is it ready?

Anything that has a Xamarin legacy will forever have a "buggy and unfinished" stain on it for me. But I'll be glad to be proven wrong.

Re: .NET MAUI: .NET Multi-Platform App UI

#37
The amount of energy Microsoft is pouring into these front-end efforts is pretty incredible. A more recent development that has me very excited is Blazor Desktop:

https://medium.com/young-coder/blazor-desktop-the-electron-f...

> This leads to the second difference — in a Blazor Desktop app hosted in WebWindow, there’s no built-in web server. Instead, it’s pure .NET all the way down. And while we haven’t seen exactly how this will be implemented, it offers the chance to simplify the hosting model quite a bit. If everything comes together just right, it will be like using Electron without needing to learn Node.

I honestly believe this model is going to revolutionize front-end development. The productivity uplift of not having to fuck around with JSON APIs alone is worth the price of admission. We already use Blazor (server-side) for several of our webapps. I have been able to implement things in 4 hours that would easily have taken 4 weeks if I had to argue with other developers about the shape of a JSON blob on the wire. Need a projection involving 3 collections to produce a table? No problem. It's literally 3-5 lines of LINQ in your razor file. With a "proper" JSON API, you would probably have to fetch 3 different resources to the client or develop a special unicorn method for each unique projection.

Re: .NET MAUI: .NET Multi-Platform App UI

#39
post #2

Any direct experiences using this? I've been looking for a good multiplatform UI for desktop that does Mac/Linux/Windows. Mobile is a nice side benefit. It would be nice to use C# again No, I'm not interested in Electron. Blegh.

Have you looked Flutter? It is mobile-first, but does native desktop applications as well. Very battle tested and natively compiled fast code.

Java and C# are "battle tested." Flutter is an experimental Google project.

Re: .NET MAUI: .NET Multi-Platform App UI

#40
post #9
post #8

Earlier quoted context omitted.

Yes! But also with desktop targets instead of just mobile targets.

Xamarin Forms was not good tech.... :-)

That's why it exploded in popularity then? Literally exploded and was releasing on a rapid cadence to a fervorous developer base. The current non-MAUI Xamarin is very refined and complete from a performance and feature perspective. It is literally the only viable serious cross-platform and mobile development platform.
Post reply on HN