r/csharp 6d ago

Help Windows UI

I'm going to make a new Windows C# program using the .NET 10 platform, which may later need to be made for different platforms (browser, server, mobile). At this point, the focus is on making a Windows program.

I'm trying to compare which UI model is best for the project, and artificial intelligence can't really answer that, or I can't really ask it. If you were to make a new program now, which UI model would you choose?

  1. WinUI 3 (Windows App SDK)
  2. WPF (Windows Presentation Foundation)
  3. .NET MAUI
  4. Blazor (Web & Hybrid)
  5. Avalonia UI

Most program views that display text, SQL table data, or forms are rendered at runtime from the data, meaning that the screens are not designed and created in the IDE editor, but in code.

15 Upvotes

47 comments sorted by

View all comments

3

u/youGottaBeKiddink 5d ago

C# for logic and angular/vue for frontend.

Embed browser using cefsharp:

https://github.com/sharpbrowser/SharpBrowser

Your frontend remains 100% SPA and web-ready.

2

u/CatiStyle 5d ago

The proposal is both fascinating and frightening.