在将asp.net 2.0迁移到asp.net 3.5时,会出现任何问题

编程入门 行业动态 更新时间:2024-10-27 10:27:11
本文介绍了在将asp 2.0迁移到asp 3.5时,会出现任何问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是由asp 2.0开发的,而将asp 2.0迁移到asp 3.5则是未引发任何问题, 我对某人说了这个,但那不是我的谎言.

in of my current app was developed by asp 2.0while migrating asp 2.0 to asp 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时,会出现任何问题

本文发布于:2023-11-16 22:22:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1607713.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:net   asp

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!