是否有一个(相对)无痛升级从ASP.NET 1.1到3.5的路径? [英] Is there a (relatively) painless upgrade path from ASP.NET 1.1 to 3.5?

查看:152
本文介绍了是否有一个(相对)无痛升级从ASP.NET 1.1到3.5的路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个客户有写在VB.NET 1.1电子商务CMS。 (原溶液与Visual Studio 2003年着)这不是一个巨大的网站,但它确实包括大约40或50 Web表单,我想将它升级到.NET 3.5,并保持和继续发展它它与2008年VS

One of my clients has an e-commerce CMS written in VB.NET 1.1. (The original solution was authored with Visual Studio 2003.) It's not an enormous site, but it does consist of around 40 or 50 Web forms, and I'd like to upgrade it to .NET 3.5, and to maintain and continue developing it it with VS 2008.

我的肯定,我能做到这一点手术,重新创建在每一步的方式同时新的项目一个文件,测试等等,但有一个更简单的方法?我有点乐观地希望2008年会VS提供某种形式的升级向导,但没有这样的运气的网站项目,它看起来像。

I's sure I could do it surgically, re-creating the new project one file at a time, testing at each step of the way, and so on, but is there an easier way? I somewhat optimistically hoped VS 2008 would offer some sort of an upgrade wizard, but no such luck for Web Site projects, it looks like.

任何人都通过这个走了吗?如果是的话,你会认为是最明智的做法?

Anyone gone through this already? If so, what would you suggest as the most sensible approach?

推荐答案

我做了两种方式 - 一次重建项目中的一个文件,也只是离开它。花了比我想象的要重新创建项目很长的,我最终花了约5-10分钟,约200页的网站的页面。如果我早知道它会采取这么久,我就不会做了。只有当你将要积极维护网站,而不是偶尔的更新将我建议投资那段时间的前期。 (话又说回来,如果你是按小时计酬...嗯...)

I've done both ways - recreating the project one file at a time and also just leaving it. It took way longer than I thought to recreate the project, I ended up spending about 5-10 minutes a page on a site with about 200 pages. If I had known it would take so long I would not have done it. Only if you are going to be actively maintaining the site rather than the occasional update would I recommend investing that time upfront. (Then again, if you are paid by the hour... hmm...)

在自那以后的项目中,我让向导升级解决VS2008的变化(web.config中,引用和项目文件一点点),那么我刚离开丑陋code它的方式。

In projects since then, I've let the wizard upgrade the solution to VS2008 (changes web.config, references and your project file a little bit) then I just left the ugly code the way it was.

这篇关于是否有一个(相对)无痛升级从ASP.NET 1.1到3.5的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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