this post was submitted on 14 Apr 2025
9 points (100.0% liked)
.NET
1656 readers
9 users here now
Getting started
Useful resources
IDEs and code editors
- Visual Studio (Windows/Mac)
- Rider (Windows/Mac/Linux)
- Visual Studio Code (Windows/Mac/Linux)
Tools
Rules
- Rule 1: Follow Lemmy rules
- Rule 2: Be excellent to each other, no hostility towards users for any reason
- Rule 3: No spam of tools/companies/advertisements
Related communities
Wikipedia pages
- .NET (open source & cross platform)
- .NET Framework (proprietary & Windows-only)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sorry this will be all abstract. By now I feel like it's just useless rambling. I guess I'll post what I wrote anyway. Just in case it is somewhat helpful or contextualizing.
MAUI is the cross platform dotnet framework/library, although without Linux support. But as I remember there is a community project to extend it onto Linux. That's where I would check first.
Other than that, I assume you have looked for other libs. But I am not very hopefuly they exist to cross Wayland and X11.
I would be more hopeful that there are separate dotnet libs for wayland and X11. But who knows what state those would be in.
You mean the X11 and Wayland "standard" libraries? Or dotnet?
Notably, you are talking about GUI functionality here. Most programming language standard libraries cover everything except for GUI. Because GUI is a whole mess in and of itself - as you found yourself.
Linux has not just one but multiple graphics desktop standards. So it's not as simple as on Windows with one Windows API or macOS with one system. That's where the whole ordeal comes from of not quite being able to support one platform and system, and them being different.
It seems this function is missing in MAUI on linux yet :/
To be fair, I think there are almost more GUI frameworks specifically for dotnet on Windows, each of which has been "the standard that everyone should follow" for a year or two, than there are DEs for linux. It's ridiculous how often Microsoft changes their mind.
I'm just glad they still support Windows Forms through all of that. Which is kinda insane through all that. Microsoft holding long term support and maintenance very high.
There's some connecting matter between the technologies as well. Like the XML representation between WPF and MAUI and whatever else there is. Or Razor between ASP.NET MVC, pages, and Blazor. WinUI and Uno plattform are part of MAUI I think? It ends up very confusing, and yes it's numerous technologies. But there are some cross-sections at least.
I'm familiar with Windows Forms, WPF, and Blazor. I disliked the XML UI representation. I've always wanted to look into/prototype the code-style declaration of UI in code rather than XML.
GUI frameworks are always a hassle. Maybe the number of frameworks and diversity is proof that there is inherent complexity that's hard to solve well.
Creating MAUI UI's in C#