3 ms·
I’m a Net developer since 1.0 (and before that), but Silverlight really burned me on XAML. I want to like it, but inevitably end up thinking JS/HTML are better
by shireboy 4y ago
I’m a Net developer since 1.0 (and before that), but Silverlight really burned me on XAML. I want to like it, but inevitably end up thinking JS/HTML are better in most cases. For all its faults, JS is something more developers can understand. My typical stack is c# backend, JS/html (ie vue, angular, alpine,etc) front end, and ionic framework for cross plat mobile. MS is pushing MAUI pretty hard, which is also XAML based. Would love to hear some counter opinions as to why XAML > JS+HTML.
- pharmakom 4y agoXAML sucks. However, these platforms can be used without XAML. See what the F# community is up to with Fabulous, for example
- atchoo 4y agoYou can use CSharpForMarkup with WPF, WinUI 3, Uno Platform. with AvaloniaUI and Maui coming and possibly Blazor. https://github.com/VincentH-Net/CSharpForMarkup https://github.com/VincentH-Net/CSharpForMarkup
- jongalloway2 4y agoThere is the Blazor Hybrid option with .NET MAUI. You write your UI using Razor (HTML + C#) and can use native controls and features when needed. As a .NET dev who prefers HTML to XAML, this feels more natural to me for a lot of apps. https://docs.microsoft.com/aspnet/core/blazor/hybrid/tutorials/maui https://docs.microsoft.com/aspnet/core/blazor/hybrid/tutoria...
- pjmlp 4y agoI have been doing GUIs since the Windows 3.x days, and Web since around 1996. With XAML I can make the page actually look how I want, master styles control templates and so one on, with Web I have given up on that, better leave the designers turn a div soup into a combo box with the right behaviours, assuming enough CSS magic is added to the potion. Then rince and repeat for every browser on the support matrix.