[Auxiliary tool] A Tool for easily upgrading ASP code to ASP. NET-ASP code migrator!

Source: Internet
Author: User

Recently, for the purpose of the project, I wrote an auxiliary tool to convert an existing ASP site to an Asp.net site.

The main steps are as follows: Start from the specified site portal file, scan all the hyperlinks in the page file, and then convert the ASP file. aspx file, put ASP or. inc file. ascx file (note that it is not converted to a user control by default, but is suffixed with ascx. If you want to convert it to a user control, you must set it in options ). Of course, it will not be converted during the conversion process.Code(Currently, the younger brother is not capable of writing such powerful tools), just comment out the ASP code embedded in <%> on the page. The next step is to write it again in C # by referring to the comments of the original ASP code. Of course, you can also organize the newly generated Asp.net site by modifying the file name, changing the file path, and moving a folder. All the change tools will modify the corresponding hyperlinks, ensure that the original hyperlink is still displayed normally.

Because the project is very tight and the time is limited, this tool was available within the last four or five days. There are certainly still many problems. First, let them be available for interested friends to play :)
Http://images.cnblogs.com/cnblogs_com/laser_lu/AspMigrator1.5.rar
Of course, I 'd like to ask someone to help feedback some bugs while trying it out. I am very grateful! In addition, because I have been very busy recently, I have not provided a detailed instruction on this tool. If I want to use it, I 'd like to explore it myself. I'm sorry here...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.