.NET MAUI fixes one of the most ANNOYING issues in WPF

preview_player
Показать описание
In WPF, your application will CRASH if you attempt to bind to a password box. Let's see how password boxes work in .NET MAUI!

Рекомендации по теме
Комментарии
Автор

Love the WinUI3 host for MAUI but resizing is so janky...

mariocamspam
Автор

MAUI is not production ready, you have to do dirty hacks to work around the bugs...

wojciechkapko
Автор

PasswordBox not supporting binding for the Password property was intended. It wasn't just "not supported". Reasoning is, you only want to store the password in memory as long as absolutely needed, which would be until the auth request has been sent.

Any validation of the password should be done server-side and not client side, at most you'd want to validate if a password has been typed in or not.

Essentially you just want "User Hit Login" > "Construct & Send Auth Request" > "Dispose Login Data on client side (before even awaiting servers response)".

This is also the reason, why the password box empties when a login failes and you have to retype everything. Users find it annoying. But it's security by design.

actual.arvenyon
Автор

MAUI doesn't even provide basic validation for an Entry control. How Microsoft even promotes this as production ready is behind my comprehention

BOOFSIDEPINS
Автор

TBH Avalonia ist my favourite C# gui Framework

Lena-ytyl
Автор

Hi Sean! If you want a multiplatform application (Windows, linux) would you use Maui or Avalonia as a replacement of wpf?

DrSteve
Автор

It was already working in Xamarin forms

philippedoumet