在将asp.net 2.0迁移到asp.net 3.5时,会出现任何问题 [英] while migrating asp.net 2.0 to asp.net 3.5 is any issues will raise

查看:67
本文介绍了在将asp.net 2.0迁移到asp.net 3.5时,会出现任何问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是由asp.net 2.0开发的,而将asp.net 2.0迁移到asp.net 3.5则是未引发任何问题,


我对某人说了这个,但那不是我的谎言.

in of my current app was developed by asp.net 2.0while migrating asp.net 2.0 to asp.net 3.5 is any issues were not raise,


i said this to someone ,but those are not belies me.

with out any errors we can do it?

推荐答案

是.

可以从.NET V2.0更改为.NET 3.5,而不会发现任何错误,也不需要对代码进行任何更改.
升级时,您可能会收到错误或警告消息,这取决于您在原始V2.0应用程序中使用的类以及这些类的属性/方法-在V3.5中某些已弃用,您会获悉.但通常,您无需任何更改即可升级.

但是,您不一定必须走另一条路! :laugh:
Yes.

It is possible to change from .NET V2.0 to .NET 3.5 without any errors being found, or needing any changes to your code.
You may get error or warning messages when you upgrade, it depends on the classes and the properties / methods of those classes you used in the original V2.0 application - some are depreciated in V3.5 and you get told about that. But in general, you can upgrade without any changes needed.

You can''t necessarily go the other way though! :laugh:


您将需要测试此举.我们已经完成了一些小问题.我们面临的最大问题是web.config文件,这些文件均引用2.0 dll和程序集.我相信您将需要手动修改这些内容.

除此之外,这将取决于您的依赖项.升级可能会很顺利,也可能会破坏一切.我能提供的绝对最佳建议是在进行更改之前,先对其进行全面测试(并确保您有备份).
You will need to test this move. We have done it with minor issues. The biggest issue we faced was the web.config files, which all reference the 2.0 dlls and assemblies. You will need to modify these by hand, I believe.

Beyond this, it will depend on what your dependencies are. It could be a smooth upgrade or you could break everything. The absolute best advice I can give is to test it thoroughly before you take the changes live (and make sure you have a backup).


这篇关于在将asp.net 2.0迁移到asp.net 3.5时,会出现任何问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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