Live data from Hacker News

.NET MAUI: .NET Multi-Platform App UI

github.com

211–220 of 260 posts

Re: .NET MAUI: .NET Multi-Platform App UI

#211
post #206

Earlier quoted context omitted.

Sure. But it still takes some time until the interactive part works. And it doesn't solve connectivity issues a SPA can easily handle.

SPA = single page application. You can make one entirely in Blazor and can host it on any static file host. Are you talking about Javascript specifically?

The difference of Blazor compared to a "classic" SPA (for example React + JSON API) is:

Blazor Server: On a broken/poor connection there is no interactivity anymore

Blazor WASM (=SPA): Keeps working when connection is lost, but everything is sooo slow

classic SPA: Keeps working with lost connection and is fast.

Re: .NET MAUI: .NET Multi-Platform App UI

#212

Earlier quoted context omitted.

You can try to use Comet [1] today if you don't want to wait for MAUI [1] - https://github.com/dotnet/Comet

C# with MAUI went full OOP Swift with SwiftUI embraced the data oriented way with structs only They both target resource constrained devices, wich will perform better? I can already tell, apps with MAUI will be laggy on most android phones, probably less on iPhones since the hardware/OS is just better, just like with Xamarin today

That’s just absolutely baseless on so many levels

Re: .NET MAUI: .NET Multi-Platform App UI

#213
post #173

Earlier quoted context omitted.

Whats the story with Xamarin now? Does it have a present/future?

There are two sides of Xamarin. It builds native apps and you can use their native UI systems. So you can build a native Android UI and a native iOS UI next to each other. This will give you perfectly native apps with the ability to share as much code as possible. The other side is Xamarin.Forms and its designated successor MAUI. Here you have the typical Microsoft UI problem. It is quite an unfinished framework. You…

Xamarin.Forms isn't just unfinished. It's total garbage.

Plus you can't share UI code between Android and iOS. You still need to build the UI's natively with no code reuse.

Plus building and cross-compiling between Windows and Mac is hacky and painfully slow.

I wish Microsoft would get rid of Xamarin. Every Visual Studio update has a bugfix for it, usually relating to iOS.

Re: .NET MAUI: .NET Multi-Platform App UI

#214

Earlier quoted context omitted.

Have you looked Flutter? It is mobile-first, but does native desktop applications as well. Very battle tested and natively compiled fast code.

I don't see the hate around Flutter here on HN. Yes, it's Google, it's bound(?) to die. But for now, people are productive with it. > battle tested Desktop support is far from the ideal situation(alpha). As far as I'm aware, the iOS jank is still an issue.

Flutter looks great on paper, but is a pain to use in real projects unless your app 90% overlaps with one of the included samples.

Also, it's Google. You never know if it will be around next year which means using it in production is a huge risk.

Re: .NET MAUI: .NET Multi-Platform App UI

#215
post #213
post #173

Earlier quoted context omitted.

There are two sides of Xamarin. It builds native apps and you can use their native UI systems. So you can build a native Android UI and a native iOS UI next to each other. This will give you perfectly native apps with the ability to share as much code as possible. The other side is Xamarin.Forms and its designated successor MAUI. Here you have the typical Microsoft UI problem. It is quite an unfinished framework. You…

Xamarin.Forms isn't just unfinished. It's total garbage. Plus you can't share UI code between Android and iOS. You still need to build the UI's natively with no code reuse. Plus building and cross-compiling between Windows and Mac is hacky and painfully slow. I wish Microsoft would get rid of Xamarin. Every Visual Studio update has a bugfix for it, usually relating to iOS.

It's 100% UI code reuse between both platforms and MAUI takes it up to Mac and Windows. I've delivered several apps with more then hundred thousand users and the turnaround time for XF apps is generally 3-4x faster than native.

You don't know what you're talking about clearly.

Re: .NET MAUI: .NET Multi-Platform App UI

#216
post #128

Earlier quoted context omitted.

> Colleges have been teaching Visual Basic as a starter programming language for decades. Where? In the US, university-level intro to programming would have been in Lisp, Forth, C, C++, and/or Java before possibly trying something else in the mid 2000s, but I struggle to imagine an American university strong in CS touching anything in the VB namespace (5, 6, .NET) whatsoever.

You struggle to imagine because you went elitist. "University level strong in CS", I said college. A lot of colleges teach Visual Basic. No, Ivy League schools might not, but a lot of colleges do. Heck, my community college taught a class for kids on it in the late 90s (my intro to programming) and still teaches college students a VB track today.

Got my 2 year in 2010 at a local CC... they taught VB.Net and DB2 SQL on mainframes. I THINK they are moving towards more JavaScripty stuff but I'd not be surprised if the CC still teaches VB and DB2 Sql because local corporations still have the need.

Re: .NET MAUI: .NET Multi-Platform App UI

#217
post #149

Earlier quoted context omitted.

Have you tried Flutter Web instead? https://devblogs.microsoft.com/surface-duo/flutter-dual-scre...

Maui is targeting React Native and Flutter. Same for Blazer with Electron. They make this attempts to bring C# everywhere. Using Flutter, Angular or setting else is the context switch they try to avoid. For me, as a .NET fanboy, they are a year or two late.

Why not just go all in and back react native? looks like they use it extensively already https://appfigures.com/resources/insights/microsoft-goes-all...

Re: .NET MAUI: .NET Multi-Platform App UI

#218
post #37

The amount of energy Microsoft is pouring into these front-end efforts is pretty incredible. A more recent development that has me very excited is Blazor Desktop: https://medium.com/young-coder/blazor-desktop-the-electron-f... > This leads to the second difference — in a Blazor Desktop app hosted in WebWindow, there’s no built-in web server. Instead, it’s pure .NET all the way down. And while we haven’t seen exactly…

I really, really want to like Blazor.

I like the shared code. I like that it borrows ideas from VueJS. I like that the recent hot reload efforts have put plugins on the table. I like the VSCode support and debugging experience once I got it working.

I don't like the thought of all the js interopt I will need to do. I don't like thinking about how shimming jointjs is going to go. I don't like the lack of pipeline for working alongside an npm/typescript project for the inevitable js bits that need to be written. I don't like the lack of a preprocessor, bundling, and asset pipeline..

P.S. I hope the culmination of the hot reload work in asp.net will result in official guidance for creating proper plugins (controllers, services, models, assets, Blazor, etc) ala Grails. It feels close with the low level infra gaps being closed.

Re: .NET MAUI: .NET Multi-Platform App UI

#219
post #154

Earlier quoted context omitted.

You struggle to imagine because you went elitist. "University level strong in CS", I said college. A lot of colleges teach Visual Basic. No, Ivy League schools might not, but a lot of colleges do. Heck, my community college taught a class for kids on it in the late 90s (my intro to programming) and still teaches college students a VB track today.

I have never heard anyone from any school in any country mention they used VB in school. Everyone I know who used VB, including me, learned it outside of school (either as a hobby or at work). I don't think VB in colleges was ever as widespread as you claim.

The two pieces of evidence I'd give you as proof of widespread use:

1. The r/visualbasic subreddit is constantly fighting people trying to use it for very low-effort homework help (just tell me how to do this problem, rather than asking for specific issues). It's literally every other post to the sub.

2. Almost no Visual Basic books are still published today. The few that are, are college textbooks, which explicitly mention them as being part of a degree: https://www.amazon.com/Microsoft-Visual-Windows-Database-App...

Re: .NET MAUI: .NET Multi-Platform App UI

#220
post #157

.NET 6? Hold up, WPF was never really finished. This is demonstrated by existence of companies which sell lacking components that should otherwise have been included with WPF: Telerik, Infragistics, Syncfusion etc. Heck, creating a Report with out-of-the-box WPF is an unforgettable nightmare. I, for one, would prefer that Microsoft, instead of pumping all these half-finished "cool new toys", ships stable, performant,…

All the 3rd party library hanger-ons is a real putoff. Asp.Net docs linking(with broken links) to a 3rd party, paid identity framework to make auth work for Blazor/Spa? Gross. It's 2021 and this stuff is table stakes for OSS web framework ecosystems.
Post reply on HN