Effectively Deals with Architecture Differences
A manual upgrade from ASP to ASP.NET is painful and slow because the target architecture is completely different from the source technology. For instance, ASP source code contains HTML and VBS (Visual Basic Script) code, and this code mixture runs over an interpreter, while ASP.NET supports C# and VB.NET in the server code and all the websites and publications are compiled into libraries in *.dll files, simplifying the deployments.
Automatically Handles Type Mappings
The ASP Upgrade Companion migrates ASP native objects (queryStrings, cookies, forms, application scripting) and server/client specific functions (response and request objects) to their respective ASP.NET equivalents.
Automatically Maps VBScript Functions
VBS (Visual Basic Script) is a utility functions subset of the VB6 language, but there are some constructions and details that may differ from the corresponding VB6 language. Mobilize.Net’s ASP to ASP.NET upgrade tool considers all the VBS details and particularities and successfully generate the C# or VB.NET equivalent code to be used in the *.aspx files.
"Include" Files Support
The "include" clause works as a macro during the code interpretation; when the "include" keyword is found, the code contained in the included file is sequentially interpreted as if it was copied into the caller's body. The tool identifies and resolves every "include" clause, applies this macro-like pattern to the ASP code and its multiple levels, resolves all the conflicts like multiple definitions of the same structure or method, translates the whole ASP solution with all the information gathered from the previous stages, and then generates the translated files keeping the original "files and folders" structure of the original project.
In ASP technology the programmer can have declarations and code mixed together, but in ASP.NET the declarations have to be separated from the rest of the code into a declaration script. The ASP Upgrade Companion extracts all the declarations from the original source code during the translation to generate an ASPX file that complies with this language restriction.
ASP to ASPX References
All the references present in the source code to other ASP files need to be refactored to the new *.aspx file names. The ASP Upgrade Companion makes sure every reference to a *.asp file is re-written to the newly generated file name.