从 .net 2003 Framework 1.1 迁移到 .net 2008 Framework 3.5 的性能相关功能?
我在 Windows 应用程序中从事 VB.net 2003 Framework 1.1 工作已有 3.5 年了。 我们目前正在迁移到 VB.net 2008 框架 3.5,但我不知道其功能 哪些与 ADO.net 相关,哪些对性能很重要。我了解 linq to SQL,但我们的架构是在 .net 2003 中构建的,因此我们应该遵循这一点。 有哪些功能对于提高性能非常重要?
I am work on VB.net 2003 Framework 1.1 for last 3.5 years in windows Application.
We are currently migrating to VB.net 2008 framework 3.5, but i don't know about the features
which related to ADO.net and which is important to performance. I know linq to SQL but our architecture is made in .net 2003 so we should follow this.
Any features which is very important to enhance the performance?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从 2003 年到 2005 年,我使用纯 ADO.NET 完成了大约 5 次迁移。
性能对我来说完全相同或更好。
只有一些大型项目在 Visual Studio 中设计得慢一些(即类型化数据集/表单)。
ADO 的改进:
I've done about 5 migrations with pure ADO.NET from 2003 to 2005.
Performance was exactly the same or better for me.
Only some big projects were a bit slower to design in visual studio (ie. typed datasets/forms)..
Improvements for ADO :
您也许能够使用泛型获得一些性能改进,但这需要一些代码更改。我认为泛型足以成为从 .NET 1.x 迁移到 2.0 的充分理由,而 Linq 是从 2.0 迁移到 3.5 及更高版本的一个很好的理由。
You might be able to get some performance improvements using generics, but that would require a bit of code change. I think generics a lot are enough reason to move from .NET 1.x to 2.0 and Linq is a good reason to move from 2.0 to 3.5 and up.