我应该继续使用WinForms吗? [英] Should I keep using WinForms?

查看:70
本文介绍了我应该继续使用WinForms吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在为FinTech行业开发多个WinForms应用程序。  他们有严格的性能和响应要求,转移到基于Web的应用程序不是一个可行的选择,因为(a)浏览器沙箱阻止本机访问
和(b)单线程使响应性变得困难。  (是的,有HTML网络工作者,但它与使用.NET的多线程模型不同。) 所以WinForms是当前的状态。  但是......

I currently work on multiple WinForms applications for the FinTech industry.  They have strict performance and responsiveness requirements that moving to a web-based application is not a viable choice because (a) browser sandbox prevents native access and (b) single threaded makes responsiveness hard.  (Yes, there are HTML web workers, but it is just not the same as using .NET's multithreading model.)   So WinForms is the current state.  But...

我正在尝试了解MS将如何处理它。  他们是否会继续支持和构建WinForms,还是有其他推荐?   WPF不是一个选择,因为根据我的经验,移植它的努力不会给我们带来太大的影响。
 此外,从Windows 10开始,什么是/将成为高性能桌面应用程序的事实标准?

I am trying to learn what MS is going to do with it.  Are they going to continue supporting and building on WinForms, or is there another recommendation?   WPF is not a choice since in my experience the effort to port it over does not buy us much.  Also, with Windows 10 onwards what is/will be the de-facto standard for high-performance desktop applications?

除了注意,我正在研究是否电子桌面将是一个可行的选择。  我理解它是根据代码编辑器(github)的要求伪造的,性能/内存要求与桌面交易应用程序
(例如MDI窗口)大不相同。  所以我并不完全相信这是正确的方法......但是。

Aside note, I am looking into whether Electron desktop will be a viable alternative.  I understand it forged from the requirements for a code editor (github) and the performance/memory requirements are much different than a desktop trading application (e.g. MDI windows).  So I am not fully convinced that it is the right approach...yet.

您对我有什么建议?

谢谢

-Tim

推荐答案

你好,

这一切都取决于您的应用程序的预期寿命,因为Microsoft将在未来一段时间内支持窗体应用程序。如果您希望您的应用程序的使用寿命可以持续五年,那么您可以在这种情况下每年重新评估
表单应用程序,那么您需要建立新的应用程序,比如两三年。如果定位Windows 10平台,我建议您查看
通用Windows平台开发。

It all depends on the expected lifespan for your applications as Microsoft is going to support window form applications for some time to come. If you expect the lifespan of your applications to last say five years you are fine but highly suggest reevaluating form applications each year in the case, you have to build new apps say two or three years down the road. I would suggest looking at universal windows platform development if targeting Windows 10 platform.

考虑使用数据,如果可能的话,请查看使用Entity Framework或SqlClient数据提供程序,并避免使用Microsoft Access数据库。

Thinking of working with data, if at all possible look at using Entity Framework or SqlClient data provider and steer clear of working with Microsoft Access databases.

写解决方案,以便您的前端和数据访问分开,以便在需要时轻松更改技术,而不是将所有数据操作放在前端。

Write solutions so that your front end and data access are separated for easy of changing technologies if needed rather than placing all data operations in the front end.

最后,如果可能,保持最新状态修改.NET Framework的稳定版本。

Lastly, if possible keep current with the most up todate stable version of the .NET Framework.


这篇关于我应该继续使用WinForms吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆