Asp.net| problem
Today finally the original ASP.net 1.0 program to upgrade to ASP.net 2.0, vs 2005 with the Conversion Wizard, all automation, easier to operate. When it is automatically converted, a few more strange files are found in the App_Code folder that start with a stub and are in a folder at the beginning of an MI (the name is deleted and forgotten) Because there is no such a. cs file, open a look, the original is an abstract class, there are several abstract methods and common fields. After viewing, it was found that in ASP.net 1.0 there are several pages behind the file that is the. aspx.cs file, which has the public method and the public field, all of these classes are abstracted out of a class, the original class name is changed and continue the abstract class, and all the public The method and public fields are also extracted into the abstract class, and the public field in the original class is deleted, and the public method in the original class is changed to an abstract method in the override abstract class.
If you want to delete these abstract classes, it is also convenient, but to change the original class back to the old, it can be.
Because on the internet to see ASP.net 1.0 conversion to ASP.net 2.0 when the notice, and did not see this item, sent here, hoping to give some friends some help.