在.NET 3.5上运行.NET 1.1应用程序 [英] Running .NET 1.1 Application on .NET 3.5

查看:87
本文介绍了在.NET 3.5上运行.NET 1.1应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用.NET 1.1中开发的使用远程处理的Windows应用程序.现在,我想将应用程序升级到.NET 3.5.我应该这样做的方法是使用Visual Studio 2008将1.1的代码转换为3.5,然后使用VS 2008编译该代码并将应用程序部署在.NET 3.5框架上.我与此有关的问题是:
1.将.NET 1.1应用程序压缩到.NET 3.5有什么好处?
2.对应用程序的性能有什么好处
3.微软停止对.NET 1.1的支持会给我带来好处吗?
或其他任何好处.

此活动将面临哪些问题.

请提出建议.

谢谢&问候,
Gaurav.

I am having Windows application using remoting, developed in .NET 1.1. Now I want to upgrade the application to .NET 3.5. The way I supposed to do this is by converting the code of 1.1 to 3.5 using Visual Studio 2008 and then compile that code using VS 2008 and deploy the application on .NET 3.5 framework. The questions i am having related to this are:
1. Is there any benefit of conervting the .NET 1.1 application to .NET 3.5
2. Is there any benefit in performance of application
3. Is it going to benefit me, as Microsoft has stopped support for .NET 1.1
or any other benefits.

What are the issues going to face in this activity.

Please suggest.

Thanks & Regards,
Gaurav.

推荐答案

我不知道这对您有没有帮助

I don''t know whether it is helpful to you or not have a look at this

http://blogs.msdn.com/b/swiss_dpe_team/archive/2008/04/10/migrating-from-net-1-1-to-2-0-3-0-and-3-5.aspx[^]


1.将.NET 1.1应用程序转换为.NET 3.5有什么好处
希望VisualStudio可以为您完成大部分转换,所以这并不难.
2.对应用程序的性能有好处吗?
您希望您的应用程序运行得更快吗?可能不是因为它强烈依赖于应用程序本身以及它如何依赖于其他元素(如数据库连接).完成大量处理后,您可以通过使用可能会有所帮助的新可用功能来获得性能,但这取决于您是否要实现.
3.是因为Microsoft停止了对.NET 1.1或任何其他好处的支持,所以这对我有好处.
一个有力的论据是它可以增强安全性. .net 2.0(及更高版本)不仅更安全,而且由于具有支持,还解决了新问题.

因此,从长远来看,升级您的.net版本可能会很好,而且因为添加新功能时可能会变得更难.这将意味着更多的转换,甚至更多的工作.添加新功能时,您还可以从新功能中受益.如果它是运行多年的独立应用程序,没有任何麻烦,并且预计将来不会有进一步的变化,那么我建议暂时不要使用它.

祝您好运!
1. Is there any benefit of converting the .NET 1.1 application to .NET 3.5
Hopefully VisualStudio will do most of this conversion for you so it isn''t that hard.
2. Is there any benefit in performance of application
You hope that your application will run faster? Likely not because it strongly depends on the application itself and how it depends on other elements like a database connection. When a lot of processing is done you could gain performance by using new available features that might help with that but it would be up to you to implement it.
3. Is it going to benefit me, as Microsoft has stopped support for .NET 1.1 or any other benefits.
A strong argument would be that it Enhances Security. Not only is .net 2.0 (and up) more secure but because it has support, new problems are fixed.

So in the long run it could be good to upgrade your .net version, also because it could get harder when new functionality is added. This would mean more conversion and maybe more work. You could also benefit from new features when adding new functionality. If it is a standalone application running for years without any trouble and no further future changes are expected, I would recommend to let it be for now.

Good luck!


.NET 1.1不再受正式支持.因此它不会获得更新或安全补丁.而且将来的操作系统甚至可能与它不兼容(因为它具有一些易混淆的API依赖关系).在.NET版本中,CLR的效率和性能也得到了显着提高.因此,潜在地,您可能"会看到速度的提高.您还将能够利用已添加到.NET的所有100多种新类和功能.

顺便说一句,虽然许多人继续使用远程处理并坚持认为WCF比WCF表现更好,但远程处理正式"已过时. Microsoft建议您升级并使用WCF.因此,从Microsoft的官方"角度来看,使用远程处理类似于使用经典的VB6或Frontpage.
.NET 1.1 is not officially supported any more. So it won''t get updates or security patches. And a future OS may even be incompatible with it (as it had some legaxy API dependencies). The CLR has also considerably improved in efficiency and performance across the .NET versions. So potentially, you "may" see a speed improvement. You will also be able to take advantage of all the 100s of newer classes and features that have been added to .NET.

And as an aside, while many people continue to use remoting and insist it''s better performing that WCF, remoting is "officially" obsolete. Microsoft recommends that you move up to and use WCF. So from the "official" Microsoft perspective, using remoting is kinda similar to using classic VB6 or Frontpage.


这篇关于在.NET 3.5上运行.NET 1.1应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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