Live data from Hacker News

.NET MAUI is coming to Linux and the browser

avaloniaui.net

161–170 of 276 posts

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

#161
post #31
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

I wonder if at any point browsers will offer a low level accessibility API for you to manually describe components. I’ve worked in the web for years and I’m a big believer but it’s also indisputable that Canvas offers more performant UI rendering than HTML when done correctly. I don’t think it should ever be used for web “documents” but web apps already bastardize HTML and CSS to achieve their aims anyway. Accessibil…

> I wonder if at any point browsers will offer a low level accessibility API for you to manually describe components

Accessibility Object Model:

https://wicg.github.io/aom/spec/

It's very slowly coming together, but it won't be rone for many years yet. Especially since what you want is Phase 3.

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

#162

Earlier quoted context omitted.

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 no…

> As far as I can tell, Windows 11 doesn't even have a toolkit with platform UI elements. They do, it's called WinUI 3. It's barely used for all of the aforementioned.

I tried this. Their examples don't even compile lol

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

#163

Earlier quoted context omitted.

You can make your own better system which supports GUI and provides a reasonable runtime that works on all current major platforms and provides development tools, years of ecosystem development, etc. etc. If it's better than what MAUI provides and you can support it for years, I'm sure that could take over and many people would use it instead. But... will you and why?

Anything would be better than another UI toolkit made by Microsoft. They will abandon it in the matter of a few years like they did about 10 times already.

They may not be improved significantly now, but none of the toolkits got abandoned. You can still use anything from Win32 to MAUI today for a new app.

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

#164
I'm currently in the process of creating a piece of development software and needed a cross-platform GUI environment to do it with.

I first tried Maui because its seemingly so highly rated and recommended. It turned out to be a complete nightmare. Even just installing it didn't just work, I had to spend 2-3 hours just to get that going and then when trying some basic things for my UI it turned out to just not be supported.

The next on the list was AvaloniaUI and wow, it was the complete opposite experience. Installation was a breeze and with only a marginal bit of googling I managed to do all kinds of things such as making a top-most only borderless transparent window etc.

The interface in Visual Studio could be a bit better overall, but compared to Maui its light-years ahead.

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

#165
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…

Let's move the goalposts downfield. If you can't go into developer mode and mess with the DOM, and JS, it's not real web.

Unironically – yes.

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

#168

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.

I sure never will write a single line of JS/TS again now that Blazor exists and is stable.

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

#169
post #54

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.

> Microsoft Team is built on Electron and not MAUI Microsoft Teams was released in March 2017. .NET MAUI was released in May 2022. In 2021, Microsoft replaced Angular with React and moved away from Electron to WebView2 (using the OS' built-in renderer rather than a bundled Chromium). So even the rewrite was a year before MAUI (and they probably started the rewrite before 2021). Plus, part of the point of using React…

Teams is not older than MAUI because MAUI was mostly a rebrand of Xamarin Forms.

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

#170
I clicked a total of three times in the demo page before the tab froze and locked up.

MAUI is nice, and I'm glad it's getting decent Linux support now, but I would never use it in the browser.

Avalonia's big money ticket is taking old WPF projects, making minor changes to the XML to load their tools, and instantly making the projects work on macOS/Android/iOS/etc. (for an enterprise fee, of course). Great for forcing internal .NET applications built to run on Windows Vista into the modern world, but I don't think their web platform is a good idea for new projects because of the massive overhead you end up with.

Post reply on HN