如何将旧 ASP 应用程序转换为 ASP.NET? [英] How do I convert legacy ASP applications to ASP.NET?

查看:27
本文介绍了如何将旧 ASP 应用程序转换为 ASP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个大型 ASP(经典 ASP)应用程序,我们希望将其转换为 .NET 以便在后续版本中工作.继续使用 ASP 是没有意义的,因为它已经过时了,我们不想从头开始重写它(Joel Spolsky 告诉你 为什么).

We have a large ASP (classic ASP) application and we would like to convert it to .NET in order to work on further releases. It makes no sense continuing to use ASP as it is obsolete, and we don't want to rewrite it from scratch (Joel Spolsky tells you why).

有没有办法自动将其从 ASP 转换为 ASP.NET?

Is there a way to convert it from ASP to ASP.NET automatically?

推荐答案

嗯,我曾经在一家所有 Web 应用都是经典 ASP 的公司工作.当决定迁移到 .NET 时,我们必须找到一种方法将 168(!) Web 应用程序转换为这个新框架.我尝试了当时所有可用的工具来执行此操作,但都失败了.

Well, I used to work for the company where all web apps were classic ASP. When decision was made to move to .NET we had to find a way to transform 168(!) web apps into this new framework. I tried all the tools available at the time to do this and all failed.

最好的方法是构建一个新的 Web 服务器并从头开始,这样您就可以确保升级会很快发生,并且由于新旧集成而不会出现任何问题.您将能够选择要保留的功能和视觉外观以及要更改的功能和视觉外观.不要将您的时间浪费在将旧的 ASP 文件/站点升级到 NET 平台的自动工具上.到目前为止,没有一个工作正常.

Best way is to build a new web server and start there from scratch, this way you can be sure that upgrade will happen fast and will work without any hick-ups because of old-new integration. You will be able to choose what functionality and visual appearances to keep and which one to change. Do not waste your time on automatic tools to upgrade your old ASP files/sites into NET platform. None so far have ever worked properly.

最重要的是,如果您在后端有数据库,您将遇到从 Web 应用程序连接到它的问题.

And on top of that if you have database on back end, you will run into problem with connection to it from web apps.

这篇关于如何将旧 ASP 应用程序转换为 ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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