TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What UI framework to choose for a greenfield LOB Windows-only app?

6 点作者 noseratio将近 4 年前
Looking for opinions, thank you. It may sound funny in 2021, but I'm inclined to use WinForms.

3 条评论

the_only_law将近 4 年前
Shit, I’m completely with you on WinForms. It works, it’s simple, and native.<p>WPF is almost nice. I’ve enjoyed it especially when trying to make crazy looking UI’s, but I can’t bring myself around to because of the god awful methods for styling components.
评论 #28194616 未加载
Someone1234将近 4 年前
Controversial take: Electron.<p>For background: I cut my teeth on Windows Forms and then WPF later (both VB6 and C# .Net then Core). So I am not anti-Microsoft&#x2F;Windows specific technologies, and both WinForms and WPF still work just fine. If you already have them in production, keep going. The discussion here is <i>greenfield</i>.<p>Why do I lean Electron in 2021?<p>- Better migration paths&#x2F;exits (e.g. Business wants a web&#x2F;intranet version? Incredibly easy&#x2F;cheap migration). ASP.NET would allow <i>some</i> code reuse from WinForms&#x2F;WPF, but we&#x27;re mostly talking about DAL&#x2F;DOMAIN&#x2F;BLL, UI is a full re-write (Blazor is also a full UI re-write, as the structure is different from WinForms and or WPF).<p>- More&#x2F;cheaper talent.<p>- Larger availability of libraries (inc. better official third party integration libraries &amp; support).<p>- Testing and or infrastructure as code as core components rather than afterthoughts&#x2F;tack-ons.<p>- If you ever want to support other desktop or mobile platforms it goes from an improbable project with WinForms&#x2F;WPF to a fairly manageable one (not free, still requires testing&#x2F;tweaks, but even .NET 5.0 doesn&#x27;t have a fantastic all-platform UI story, aside from web&#x2F;ASP.Net).<p>Sad part is that I don&#x27;t even like JavaScript&#x2F;Node.js&#x2F;Electron very much, but yet the whole package in 2021 is extremely difficult to ignore. Plus in my limited experience almost all LOB eventually grow until they become web-apps of one type or another.
评论 #28194767 未加载
noseratio将近 4 年前
Ranted about this choice previously: <a href="https:&#x2F;&#x2F;dev.to&#x2F;noseratio&#x2F;the-signs-of-wpf-currently-being-on-life-support-1h3a" rel="nofollow">https:&#x2F;&#x2F;dev.to&#x2F;noseratio&#x2F;the-signs-of-wpf-currently-being-on...</a>