The Best ASP Migration Steps of 2014

Home Forums Equipment The Best ASP Migration Steps of 2014

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #36434 Reply

    Its end of era for Classic ASP development as current applications demand multiples of performance gain in future, this triggers the need for migration to ASP .NET.
    The ASP to ASP .NET migration is fostered by the need for more scalable and reliable future applications. In addition to the better performance gain offered by ASP .NET, features such as built-in cross browser compatibility and rich server-side controls also add to its benefits.

    Although, there is no complete automation process available for conversion, but there are certain steps and best practices that can be leveraged for an easy ASP migration process.

    Devising an ASP migration strategy is not always straightforward. Rewriting the entire web application in Microsoft .NET from scratch although seems an enthusiastic option from a developer perspective, but it’s less attractive for the management.

    In most scenarios, the application is already in production and satisfies the requirements, this factor needs to be taken into account.

    Let’s discuss the ASP to ASP .NET migration steps that best suits you

    Set ASP Compatibility Mode:

    Calling STA components from code running under the MTA model doesn’t t perform well and is unreliable.

    This means that if you call COM components that run under the STA model, you have a problem. Unfortunately, every COM component created with Visual Basic 6.0 will use the STA model. Unless you have run C:Program FilesCommon FilesSystemadomakfre15.bat on your server, ADO also runs under the STA model.
    Do not do this if you have applications using Microsoft Access!

    Change Object Use:

    An ASP to ASP .NET migration is about change. If you’re fortunate, your pages will run now without raising a compilation error. They may still raise run-time errors.

    If they don’t compile, it’s likely your code isn’t giving you the proper results yet.

    Apply Typing:

    Now that your code runs, it is time to apply typing. If you don’t do this, the performance of the code is likely to be worse than under ASP classic because the code is late-bound, which is a real performance killer.

    Handle Other Syntax and API Changes:

    The familiar <%…%> tags are still available in ASP. If you loved this article therefore you would like to obtain more info about vb code upgrade generously visit our own site. NET, but they work differently. An object-oriented model in ASP.NET replaces the sequential model of ASP pages.

    Handle Language Changes:

    In the .NET Framework, VBScript is not supported anymore, which also means it is no longer supported in ASP.NET.

    Instead, you have to use full-fledged VB.

    Renaming Files:

    You may wish to delay this change until late in the process. You’re in luck if your pages were built with JavaScript because it is still supported, so you don’t have to worry about losing IntelliSense when you change languages.

    Follow these above steps for ASP migration to build the application for better performance, reliability, scalability and agility. However one question arises is the possibility to start extending the application in .NET and at the same time preserving an investment in the legacy ASP code?

    Specifically if a complete ASP migration can be achieved progressively in a number of evolutionary migration steps, with every step resolving a concrete migration-justifiable problem. In any ASP migration it is important to stress that even with a discreet “do not touch legacy code” strategy; some changes to this code must be done.
    A few of them are:

    Unexpected small future updates that are tightly coupled with legacy code and are preferred, compared to the code migration option.
    Modifications determined by the decision to access .NET code from legacy code.
    A legacy code update for ASP and ASP .NET state synchronization.
    Variations driven by the choice to expose legacy code to .NET code.
    The migration to ASP .NET provides a better product together with the added advantages such as ease of development, better efficiency with master pages and the availability as well as security of the source code.

    ASP Migration will allow you to work on a flexible stage and will enable product enhancements at later stages. If you want to build a robust and well-architected software product using the ASP .Net framework, the time is now!

    To learn more about the migration strategies, continue reading our blogs.

Viewing 1 post (of 1 total)
Reply To: The Best ASP Migration Steps of 2014
Your information: