News for hackers. Stuff that matters.
Re:.NET 8 – MAUI by Vitamin_Sushi on Tuesday November 14, 2023 @09:51PM (#38272758)
Nope, not falling for this again microsoft. Once you actually start dogfooding your own GUI frameworks, then I'll bite.
Re:.NET 8 – MAUI by kumarvvr on Tuesday November 14, 2023 @10:13PM (#38272878)
Maui is Open Source, MIT License

https://github.com/dotnet/maui

.NET is Open Source

https://dotnet.microsoft.com/en-us/platform/open-source

I do share your skepticism of Microsoft, but it looks like the economics and cash flow dynamics have changed drastically after the advent of the cloud.

Microsoft is more focused on getting developers onto its ecosystem and help them with open source projects with the hope that they will use its Azure cloud services and bring in the money.

My skepticism is a bit relaxed now and I have no qualms using .NET.

I hope I am not wrong.

Re:.NET 8 – MAUI by Vitamin_Sushi on Tuesday November 14, 2023 @10:38PM (#38273027)
I love the fact that .NET and friends are open source, but my issue isn't with the licensing, it's with m$ funneling tons of resources on projects that (most likely) will end up being a dead end.

I'd also love if maui actually takes off since it does seem pretty neat, but until microsoft uses it for teams or any other of their clients, I'll pass.

They also aren't even targeting linux or web browsers, which doesn't really make this more compelling than Flutter.

Re:.NET 8 – MAUI by dangus on Tuesday November 14, 2023 @10:56PM (#38273176)
.NET is used all over the place in Microsoft, including many Microsoft Teams services being migrated to .NET. Teams is listed on Microsoft’s .NET customers page.

https://dotnet.microsoft.com/en-us/platform/customers

Teams was originally written before this particular release existed.

Re:.NET 8 – MAUI by bmitc on Tuesday November 14, 2023 @11:15PM (#38273291)
The commenter was referring to Microsoft's GUI frameworks on offer in .NET and not .NET in general. Of course .NET is used everywhere at Microsoft. C# is one of the most popular languages in the world.

They were talking about Microsoft constantly re-inventing GUI frameworks and then abandoning them. For example, you bring up Teams, but Teams is actually an Electron app, which gets to the point of the commenter.

Re:.NET 8 – MAUI by Kuinox on Wednesday November 15, 2023 @06:53AM (#38275745)
Tons of ressources ? MAUI is clearly underfunded!
Re:.NET 8 – MAUI by sorwin on Tuesday November 14, 2023 @10:33PM (#38272989)
I think they may be referring to WPF, it promised so much, and it was great - then it was just left to die, and Microsoft moved on to MAUI
Re:.NET 8 – MAUI by alternatex on Wednesday November 15, 2023 @03:29AM (#38274513)
Actually they moved onto UWP, then they moved onto WinUI 3. Now all this talk about MAUI but they have done zero dogfooding of it. People are sceptical of WinUI 3 but at least they used it in Windows 11.
Re:.NET 8 – MAUI by bmitc on Wednesday November 15, 2023 @01:00AM (#38273770)
It isn't about whether it is open source or not. It's about what will be their stance on GUIs in a year or two and whether the projects of today are abandonded or not. Windows Forms, Silverlight, WPF, UWP, WinUI, Blazor, and then Xamarin Forms and MAUI, and then the third party ones like Avalonia and Uno Platform.

It's insane because actually all anyone wants is Windows Forms and WPF. If Microsoft made a cross-platform version of Windows Forms and WPF, they would be the cross-platform frameworks, at least for desktop.

Re:.NET 8 – MAUI by ygra on Wednesday November 15, 2023 @01:50AM (#38274009)
If you want cross-platform WPF, there is Avalonia. For many normal-ish applications you basically change a few namespaces and that should be bulk of the work to migrate.

I do wonder sometimes whether MS should just pick it up as a default-endorsed desktop UI toolkit for .NET, but I guess rivalries, internal turf wars and other priorities make that difficult.

Re:.NET 8 – MAUI by flohofwoe on Wednesday November 15, 2023 @04:46AM (#38274966)
Putting it up on Github won't change the likely outcome that the project will be abandondend for the next shiny thing in 2 or 3 years.
Re:.NET 8 – MAUI by amir734jj on Tuesday November 14, 2023 @10:39PM (#38273037)
Microsoft employee here. There is a lot of momentum behind MAUI so I am optimistic.
Re:.NET 8 – MAUI by lawgimenez on Tuesday November 14, 2023 @10:49PM (#38273110)
Oh? I work for one of the largest jobs site in Asia. Maui has only one entry for the year 2023. Not sure what momentum are you talking about.
Re:.NET 8 – MAUI by hackernate on Tuesday November 14, 2023 @10:56PM (#38273167)
Useful to know. So if I'm starting to build a new Windows app, what is Microsoft's recommendation?

Should I use MAUI? (https://learn.microsoft.com/en-us/windows/apps/windows-dotne...) Or WPF? (https://learn.microsoft.com/en-us/dotnet/desktop/wpf/overvie...) Or WinForms? (https://learn.microsoft.com/en-us/dotnet/desktop/winforms/ov...) Or WinUI 2? Or WinUI 3? (https://learn.microsoft.com/en-us/windows/apps/winui/#compar...) Or React Native for Windows? (https://learn.microsoft.com/en-us/windows/dev-environment/ja...) Or Blazor? (https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blaz...) Or Win32? (https://learn.microsoft.com/en-us/windows/win32/desktop-prog...) Or even Xamarin? (https://visualstudio.microsoft.com/xamarin/)

I feel like I might have missed a few...

And how confident are you that my choice isn't going to be deprecated in a couple of years? I'm not certain that "momentum" is worth much from a company who changes UI frameworks as often as some people change underwear...

Re:.NET 8 – MAUI by addicted on Wednesday November 15, 2023 @12:08AM (#38273542)
Rookie mistake. The answer is obviously Silverlight.
Re:.NET 8 – MAUI by tonyedgecombe on Wednesday November 15, 2023 @03:37AM (#38274553)
[delayed]
Re:.NET 8 – MAUI by danielscrubs on Thursday November 16, 2023 @02:21AM (#38286619)
I wonder why this is. Is it because management is asleep at the wheel? Is it because teams competes with each other without direction from the top? Is it because heavy rotation of leadership who doesnt know better?

Any insiders?

Re:.NET 8 – MAUI by oblio on Thursday November 16, 2023 @07:40AM (#38288851)
Re:.NET 8 – MAUI by DANmode on Tuesday November 14, 2023 @11:06PM (#38273244)
> There is a lot of momentum behind MAUI

Source?

Re:.NET 8 – MAUI by bmitc on Tuesday November 14, 2023 @11:16PM (#38273299)
I'm not entirely sure. SkiaSharp is the driver behind all the 2D graphics, isn't it? But the SkiaSharp repo is effectively unmaintained except maybe to support critical things for MAUI.
Re:.NET 8 – MAUI by ygra on Wednesday November 15, 2023 @01:56AM (#38274034)
SkiaSharp has some MAUI integration, but AFAIK it's not used to render things. At least not when I last looked. On most (all?) platforms native drawing methods are used (which fits well into how MAUI works on each platform, admittedly). This comes with the drawback that performance varies wildly across platforms, however. (NB: I've last looked deeply into MAUI about a year ago, so things may have changed.)
Re:.NET 8 – MAUI by sdflhasjd on Wednesday November 15, 2023 @03:40AM (#38274571)
MAUI renders by wrapping the native UI components on whatever platform (UIKit, Jetpack, etc). It doesn't use Skia for drawing.
Re:.NET 8 – MAUI by jiggawatts on Tuesday November 14, 2023 @11:18PM (#38273307)
There's like... zero momentum behind MAUI. The wider industry has learned their lesson and nobody in their right mind would ever use MAUI for a new GUI project unless Microsoft converts 80% of their applications to it.

The only decent GUI framework for Windows is Electron, which is based on Chromium.

Microsoft's new GUI applications use Electron: VS Code, Azure Data Studio, etc...

In other words: Google makes the best Microsoft Windows GUI framework, as endorsed by Microsoft's own developers.

Re:.NET 8 – MAUI by Xeamek on Wednesday November 15, 2023 @03:17AM (#38274451)
>The only decent GUI framework for Windows is Electron, which is based on Chromium.

Why not avalonia?

Re:.NET 8 – MAUI by braiamp on Wednesday November 15, 2023 @06:12AM (#38275482)
Ask that to Microsoft.
Re:.NET 8 – MAUI by brtkdotse on Wednesday November 15, 2023 @07:32AM (#38275960)
> The only decent GUI framework for Windows is Electron

What a peculiar way of spelling “WinForms”

Re:.NET 8 – MAUI by heisgone on Wednesday November 15, 2023 @10:32AM (#38277754)
Well, Microsoft ditched Electron for their new version of Teams.
Re:.NET 8 – MAUI by jiggawatts on Wednesday November 15, 2023 @05:44PM (#38283658)
The new framework for Teams is just an Edge-flavored version of Electron, not MAUI.
Re:.NET 8 – MAUI by electroly on Wednesday November 15, 2023 @01:32AM (#38273925)
You're talking about momentum within Microsoft, I assume? There's no detectable momentum in the community at large. The ball hasn't even begun to roll. I have not heard or seen anyone using MAUI for anything serious so far. I've been writing Windows applications for 25 years at this point and am certainly not considering MAUI any time soon. They only just added keyboard accelerators--this is obviously not serious yet. To this day we are still writing Windows Forms applications. I'd consider embedding Blazor before I'd consider MAUI.

Having lived through a lot of Microsoft GUI frameworks, I would say that I won't be fooled this easily. Not with another half-assed unfinished library. I'll be interested once it qualifies as whole-assed and not a moment sooner.

Re:.NET 8 – MAUI by nobodyandproud on Wednesday November 15, 2023 @08:21AM (#38276341)
Use Outlook 365 and Teams School and Work to prove MAUI, then we’ll take it more seriously.
Re:.NET 8 – MAUI by andydevguy on Wednesday November 15, 2023 @08:40AM (#38276481)
keep drinking that kool-aid.
Re:.NET 8 – MAUI by lenkite on Thursday November 16, 2023 @03:00AM (#38286850)
Which Microsoft Product is using MAUI ? Any MS Windows App being built in MAUI ?
Re:.NET 8 – MAUI by oblio on Thursday November 16, 2023 @07:42AM (#38288863)
Word, Excel, Outlook.

Just kidding, it's probably some intern's dashboard that monitors their Clippy staging environments.