Live data from Hacker News

.NET MAUI is coming to Linux and the browser

avaloniaui.net

71–80 of 276 posts

Re: .NET MAUI is coming to Linux and the browser

#71

In the .NET ecosystem, I have noticed people to shame .NET MAUI because Microsoft themselves don't use this framework - Microsoft Team is built on Electron and not MAUI. Why build a product on MAUI when Microsoft aren't too sure about it.

Never build a frontend on a .NET technology. Period. They always end up unsupported in the end. Just use standard web technologies and thank yourself later. I've been a .NET dev for a decade now and that's what I've learnt.

Tauri is pretty awesome. Rust backend, WebView front end. Nothing uses native desktop elements of course.

To be fair, there is no practical way to write native desktop applications using stylistically consistent UI elements AND have it be portable AND in a language that you enjoy using.

As far as I can tell, Windows 11 doesn't even have a toolkit with platform UI elements.

GTK on Gnome is pretty okay and GTK-rs is not dissimilar to React. Who know what MacOS uses but something something Swift XCode.

But I agree, just use web technologies. Write once, ship everywhere (and hum loudly when people complain about poor performance - joking, it's the vendors' fault we have to use web technologies).

Re: .NET MAUI is coming to Linux and the browser

#72
post #20

Earlier quoted context omitted.

Not using the standard web stuff usually means it's also an accessibility nightmare, tried using a screen reader on the demo and it doesn't work at all unfortunately

What screen reader? Over the last few years AI's ability to understand images has improved a lot.

That’s not exactly fast for people who need these tools though.

Re: .NET MAUI is coming to Linux and the browser

#73
post #6

This is interesting for sure. Kudos for bringing this capability to the web! One issue the demos reveal is, it doesn't _feel_ like the web. That is, I can't hit Ctrl+F to find text on a page. I can't select text with my cursor. I can't copy the address of a hyperlink. On my phone, I can't hard press on an image and share it to others. Screen readers can't handle it. I can't press a shortcut key to make everything lar…

If this can’t support web standards it’s a nonstarter for me.

Re: .NET MAUI is coming to Linux and the browser

#74

Earlier quoted context omitted.

> it really is the safest approach for most applications. It's also the option which gives your users by far the worst experience. Not worth it at all, imo.

Not really. The downsides are mostly overblown. Plenty of category leading applications like Discord, VSCode, Slack, Figma, etc. use it quite successfully.

All of those are examples of overbloated, slow, horrible user experience apps.

Re: .NET MAUI is coming to Linux and the browser

#75
post #60
post #59

Earlier quoted context omitted.

Then I’m showing my ignorance… how do you add ARIA landmarks to Canvas elements?

You would create transparent DOM elements in the right places with the right ARIA attributes and content, I suspect.

I guess that’s what I’d like to see a better API for, then. Mapping on click events for invisible elements feels like a hack.

Re: .NET MAUI is coming to Linux and the browser

#77
If it runs on Avalonia anyway why choose MAUI? If you have the option just use Avalonia. MAUI is unfinished and its docs is awful.

Do you want to build an app using MAUI? Unless you build an app that barely deviates from the template, expect to desperately search through decade old Xamarin documentation and figure out the details through painful trial and error.

Good luck.

Re: .NET MAUI is coming to Linux and the browser

#78

Earlier quoted context omitted.

Not really. The downsides are mostly overblown. Plenty of category leading applications like Discord, VSCode, Slack, Figma, etc. use it quite successfully.

All of those are examples of overbloated, slow, horrible user experience apps.

They work great for me.

Re: .NET MAUI is coming to Linux and the browser

#79
post #46
post #7

Earlier quoted context omitted.

That's not pedantic at all! Indeed, without these capabilities, it is by some definition not the real web. This hits into that concept of what exactly the "web" is. Is it just a media transport system? Or is it something more than that. Of course, we could cite Tim Berners-Lee here or Roy Fielding in this discussion. But at minimum, I think a lot of us are tired of the app-lification of the web and somewhat wish we c…

It's also an interesting question, why, in traditional rich desktop applications, I can't say I have ever missed the ability to select and copy text from the UI chrome - whereas on the web I'd definitly miss it and in badly designed mobile apps, I often do. I think some part of UI design degraded with the web, where there used to be a clearer distinction between "user data" and "app chrome" areas than there is today.…

Not being able to copy text from UI interfaces is just normalization of deviancy. It should be the norm and it’s subpar when not possible imho

Re: .NET MAUI is coming to Linux and the browser

#80
post #46
post #7

Earlier quoted context omitted.

That's not pedantic at all! Indeed, without these capabilities, it is by some definition not the real web. This hits into that concept of what exactly the "web" is. Is it just a media transport system? Or is it something more than that. Of course, we could cite Tim Berners-Lee here or Roy Fielding in this discussion. But at minimum, I think a lot of us are tired of the app-lification of the web and somewhat wish we c…

It's also an interesting question, why, in traditional rich desktop applications, I can't say I have ever missed the ability to select and copy text from the UI chrome - whereas on the web I'd definitly miss it and in badly designed mobile apps, I often do. I think some part of UI design degraded with the web, where there used to be a clearer distinction between "user data" and "app chrome" areas than there is today.…

> traditional rich desktop applications, I can't say I have ever missed the ability to select and copy text from the UI chrome

You've never had to type error code/message instead of copying&pasting? Or use search to jump to a specific settings section?

Post reply on HN