4 ms·
except if you want to use for example system.windows.forms, then "oh well different teams maintain that, nobody made it for linux!!!" "the core is open!!!" the
by redeeman 2y ago
except if you want to use for example system.windows.forms, then "oh well different teams maintain that, nobody made it for linux!!!" "the core is open!!!"
they clearly WANT applications written in .net not to be cross platform
- ziml77 2y agoIt's not about different teams, it's that System.Windows.Forms is exactly what the namespace says. It's Windows Forms. It's a fairly thin wrapper over the Windows API. It's never going to be adapted to be cross-platform and isn't really something they've put any development work into for many years at this point. If you want a cross platform UI, use WPF with Avalonia. Or if you want something entirely from Microsoft themselves, there's MAUI as an option.
- lll-o-lll 2y agoJS is the only true cross-platform UI; sadly.
- LtWorf 2y agoYou spelled qt wrong
- CharlieDigital 2y agoMore accurately, HTML (+CSS)(+JS). HTML is all you need for a cross platform UI.
- LtWorf 2y agoHTML is all you need for a very slow cross platform UI. FTFY
- redeeman 2y agoobviously system.windows.forms could easily be implemented elsewhere, but okay, does any of the other UIs work fully properly on for example linux?
- CharlieDigital 2y agoAvalonia: https://avaloniaui.net/ https://avaloniaui.net/, https://docs.avaloniaui.net/docs/overview/supported-platforms https://docs.avaloniaui.net/docs/overview/supported-platform... Uno: https://platform.uno/ https://platform.uno/, https://platform.uno/platforms/ https://platform.uno/platforms/
- redeeman 2y agowhat ui library are most .net applications created in the business world today using? what is microsoft telling people to use?
- CharlieDigital 2y agoThere's no such thing; it depends on the app that people are building, their use cases, and platforms. Case in point: both Teams and VS Code: both web view wrappers. Some trading shops are still using WPF and some are even using Windows Forms apps still.
- ziml77 2y agoI'm amazed people are still using WinForms. When I was going around tables at a job fair in college, 13ish years ago, one of the questions for me from representatives for a large bank was about if I've used WPF. I said I don't use it, and they basically told me I should get with the times.
- int_19h 2y ago> obviously system.windows.forms could easily be implemented elsewhere It can, but not easily. As OP has said, it is a wrapper around Win32, and not an opaque one - it literally has stuff like e.g. the Message struct with members like HWnd and LParam. Mono did try at one point, but they kept hitting edge cases where this kind of stuff would break things. Eventually they gave up and just wrapped Wine. So, yes, if you really really want to run WinForms on Linux, Mono is where it's at. But ... why?