Live data from Hacker News

.NET MAUI is coming to Linux and the browser

avaloniaui.net

121–130 of 276 posts

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

#121

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…

> Rust backend, WebView front end. I don't know much about it but it seems like a weird combination. If you want high performance and low memory usage, you don't want HTML, if you want fast code writing, you don't want Rust.

A very reasonable combination:

- HTML is the main way of designing interfaces (whether we like it or not)

- Rust is the main language promoted by intelligence agencies with multi-billion dollar budgets because it is laced with their backdoors (whether we like it or not)

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

#122
post #81

Earlier quoted context omitted.

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

Does their market share back up your take of them as horrible apps? Are there QT or GTK competitors crushing them? I always hear how terrible electron apps are, but the companies picking electron seem to get traction QT or other apps don't and seem to have a good cross platform story as well.

Users will happily deal with a suboptimal experience as long as there are other things attracting them to the product. That's why Microsoft can do whatever it wants with Windows without worrying their users will run off somewhere else. So if you care more about people than businesses, maybe it shouldn't be an excuse to pick "better dev experience" over the user's.

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

#123

If React is what’s powering the start menu now, I’m more curious about why Maui doesn’t power the start menu. .NET Maui running on windows seems like a more logical first step to prove the organization buys their own dogfood.

> If React is what’s powering the start menu now

To clarify, it's using React Native XAML, where XAML is Microsoft tech for building UIs. So they are dogfooding but they have too many UI frameworks to choose from.

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

#124

Earlier quoted context omitted.

So you've never used WinForms, WPF and MVC

MVC is not .NET of course. You are right that WinForms and MVC have been around forever. However, Microsoft has continuously told devs that they are the past. So, you would be forgiven for expecting them to go away. WinUI is the current official desktop paradigm and it is basically UWP from an API point of view. So the idea that UWP went away is not 100% accurate either. Microsoft does not really abandon their UI tec…

> MVC is not .NET of course.

https://en.wikipedia.org/wiki/ASP.NET_MVC

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

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

>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.

That's because MAUI is intended for mobile and desktop apps.

If you want to use .NET for front-end web SPA, you can use Blazor which will behave exactly like you asked.

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

#127
post #115

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.

The answer to that is well known: Windows division builds WinUI/Win32 as their native C++/COM API, Office division went to React on their path to the web and the dev division fills gaps (WPF) and provides tools for external and internal devs (Maui for cross platform uis). It is history not the lack of will. At one point the windows division was in shambles (remember vista) and WPF pops up. At another point, the windo…

I understood (can not confirm it though) that the new start menu in Windows 11 was built using React Native, so yet another ui framework in the mix.

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

#128

Earlier quoted context omitted.

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.

Except WinForms, spectacular for Windows-only utility GUIs.

IIRC, because of Wine, Mono has enough of WinForms to make a few things work. But who the hell wants to distribute an application with a Wine runtime?

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

#130
post #115

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.

The answer to that is well known: Windows division builds WinUI/Win32 as their native C++/COM API, Office division went to React on their path to the web and the dev division fills gaps (WPF) and provides tools for external and internal devs (Maui for cross platform uis). It is history not the lack of will. At one point the windows division was in shambles (remember vista) and WPF pops up. At another point, the windo…

Well summarized, and just as shocking today as it was every minute while it developed.

Someone needs to remind those cats that they own the platform. Being able to sanely develop apps for and on that platform should be possible, and UI kinda-sorta matters for that. At a certain point with the MFC they had it dialled in, while pioneering asynchronous browser tech, with many best in class tools. Decades later with a cross-platform cloud-centric stack they have a shrug emoji as big and wide as the eyes can see, and no sense this basic question of development will ever get improved.

Ballmer chanting ‘developers, developers, developers …’ springs to mind.

Post reply on HN