←back to thread

304 points vyrotek | 5 comments | | HN request time: 0.967s | source
Show context
mattfrommars ◴[] No.45894761[source]
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.

replies(10): >>45894798 #>>45894820 #>>45894890 #>>45895144 #>>45895166 #>>45895441 #>>45895856 #>>45896444 #>>45896882 #>>45897144 #
latentsea ◴[] No.45895144[source]
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.
replies(7): >>45895301 #>>45895556 #>>45896012 #>>45896688 #>>45897709 #>>45897973 #>>45901208 #
issafram ◴[] No.45896688[source]
So you've never used WinForms, WPF and MVC
replies(1): >>45896748 #
1. LeFantome ◴[] No.45896748[source]
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 tech like people say they do. But look how many different frameworks they have.

All of the above is Windows desktop only. There are a completely different set of UI technologies for the web.

UNO Platform (Open Source) allows you to use the WinUI API to target almost anything.

.NET MAUI is the official "cross platform" UI tech from Microsoft. It is what you use to target iOS and Android. As a bonus, you can target macOS and Windows too. On Windows, it uses WinUI. You will notice that the Linux desktop is missing from that list.

Here comes Avalonia to build MAUI on top of the Avalonia framework. This adds Linux and WASM to the list of platforms that MAUI will run on. Adding Linux is awesome. A lot of people have wanted that and it really completes the MAUI cross-platform story.

Adding WASM is neat but MAUI was never meant to target the web. If you use it for that, it is literally just the modern version of Silverlight. But Microsoft did not design it for that at all. It is just a back-end that Avalonia supports.

replies(1): >>45897017 #
2. AllegedAlec ◴[] No.45897017[source]
> MVC is not .NET of course.

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

replies(2): >>45897454 #>>45902376 #
3. alternatex ◴[] No.45897454[source]
I feel like they're both talking about MFC instead..
replies(1): >>45898357 #
4. ◴[] No.45898357{3}[source]
5. memsom ◴[] No.45902376[source]
MVC is a design pattern, ASP.NET MVC is a framework that used MVC as its go to pattern. But MVC is not in any way only ASP.NET MVC. There are plenty of other UI frameworks that use MVC and the Wikipedia article lists a lot of them for example: https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93con...