Over the years, my goal has been to exit ASP / VBScript into the โbestโ language โ C # will be my preference, as I have C skills, but I would consider other languages โโ(including PHP, etc.) not DotNet only)
The goal is for the code base to be in a language that does more for us. I hate the lack of data entry in VBScript, I would like to use several different "container objects", not just a dictionary, etc. - in fact, I wonder why, having moved from Basic to C in the 80s and then C ++ at that time after that I managed to move "back" to "Basic" at 00.
(I could program container objects in VBScript, but my instinct is that they will be slow in working, we have a significant cache of HTML โfragmentsโ used to render the page, ASP Application Object is a pretty dumb tool!)
My ASP / VBScript is one large application, which is basically a web content delivery engine.
Many years have passed, and now ASP code rarely changes. (So โโI need to justify moving it at all or just live with VBScript โforeverโ)
It is managed from data in an MS SQL database.
There is only one .ASP page (consisting of several included files).
Based on the query string parameters, Skin and CMS templates for the page are loaded from the database and a suitable database. Scrolls are run to retrieve data that is combined into CMS templates.
Page data (usage methods, etc.) is also retrieved from the database, as well as information about access permissions, etc.
From what I read, some of these things can facilitate migration:
ASP sessions are not used - session cookie is used to retrieve session data from the database (so that I could easily share one and a half session with ASPX
VBScript uses OPTION EXPLICIT, so all variables are predefined.
All output is done through Response.Write (in fact, most of the content is combined into one variable and then output). There is no combination of HTML and <% server code%>.
I have several VBScript classes, but not many.
I have many VBScript functions and several routines.
I have a test suite. It captures screenshots from the browser and graphically compares them with the main images - so I have the opportunity to perform a regression test.
I do not have the resource to completely rewrite; maintaining the existing code needs to be continued during the migration; but, saying that 99% of our work is in CMS or SQL Sprocs, so changes to the ASP code are infrequent.
I read about MS utility to port ASP code to VB.NET. Given that my code is 100% VBScript and does not contain HTML / Script, would I appreciate it if it helped me a lot or a little?
I would be happy to reorganize STAYING IN VBscript in order to facilitate the transition to DotNet later (but I needed to know what my goals were in this :) :). Could I, for example, move some / all functions to a COM object and possibly do it piecemeal?
thanks for the help