且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我应该继续使用WinForms吗?

更新时间:2022-02-23 23:19:58

你好,

这一切都取决于您的应用程序的预期寿命,因为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.