Migration to .NET your Roadmap to Success

Migration to .NET your Roadmap to Success

By Imran Salahuddin | Published on May 11th, 2016 | Last updated on July 14th, 2021 |

Visual Fox Pro (VFP) has reached the end of life.

Updates in browsers and other applications can leave your currently running VFP applications crippled. It is inevitable that Visual FoxPro Applications are to be migrated to the .NET Framework. A seamless migration requires knowing where to begin and identifying key milestones.

1. Application Analysis

A successful conversion project starts with an in-depth Analysis of the existing application. A well-executed Analysis is a conversion half-done. This phase requires legacy VFP experts, who are proficient in both programming and analysis. If you are fortunate enough to have the original VFP programmers on staff means you have saved the asset.  The original developer quickly provides an excellent overview of the application, business rules, project structure, database design, configuration and application coding standards. Unfortunately, we have found many companies have lost the original developer/company to support existing application. An initial assessment of your application is possible with Macrosoft’s FoxPro Code Matrix. This easy to use utility enables users to quickly analyze your Visual FoxPro application statistics to generate a summary report.

2. Architecture and Framework

After analysis and documentation of your current VFP application, you will have a clear idea on what you want to achieve. Important questions to answer include:

  • What is the target platform… and why?
  • What changes to functionalities are needed?
  • What irrelevant functionalities can be retired?
  • Stay with a desktop application or move to a web-based application?
  • Does the application need a new interface for browsers and devices?
  • What new functionalities are needed in the system?

Answers to these questions are the foundation for a clear path allowing: the framework to be designed accordingly; developing a list of functional requirements for the new framework and applications; deciding the migration strategy, incremental by module or as a whole application; and agreeing on the development model for the coding.

3. Application Migration (Code Writing)

The deliverables are created during the design phase act as the project guideline. The next phase is to program it onto the new platform. This requires a combination of programming skills and the ability to understand the logic provided. The team is headed by a technical project manager that orchestrates this phase and is responsible for achieving milestones. Follow defined coding standards and documentation is a best practice. Use industry standard architecture technique, take advantage of 4GL language benefit of true Object Oriented approaches, this will allow for better ongoing support and maintenance. The objective is to have a well-written code that is easy to understand by any programmer. There are tools that check for the best practices and alert you when there is a violation.

4. Testing

The testing phase is one of the most important steps in migration roadmap. The code produced by the programmers must be vigorously tested to check for design, run-time, and logical errors.  Testing needs to account for every possible variation. Manual testing is the conventional method and many follow due to the uniqueness of the applications but automated testing enables tests to be rerun before new deployment. It is important to test the application side by side on same data set to evaluate all test results and reports outputs. Testers need to think creatively and explore every possible outcome in a particular situation and perform both performance and regression test.

5. Deployment and Training

The last, but not the least phase lets the project sponsors and stakeholders know that you have migrated the application. A new application may require new hardware and operating system. Make sure you advise network department to arrange all necessary hardware on time. Set up all 3rd party software license and compatibility and necessary security setting on the server. We advise to setup application training workshop before moving users to the new system and run both new and legacy application parallel for 2-4 weeks. Ideally, put some training videos online for reference and new employees to jump start acceptance.

Once complete, it’s essential to have post-deployment support so that you don’t run into any unforeseen problems. A long-term maintenance contract will also be worthy of incorporating the updates hassle-free.

So, would you like to analyze your FoxPro Application for Free? This is your chance to join the 21st century. Simply download the VFP analyzer and start your analysis today.

Imran Salahuddin on Linkedin
Imran Salahuddin
VP of Technology & Migration Services at Macrosoft Inc
Imran serves as Macrosoft’s VP of Technology & Migration Services. With two decades of industry experience, Imran continues to demonstrate his ability to ensure seamless migrations. Imran works with Project Managers, sales/strategy teams, and clients to ensure the successful migration of legacy applications. Moreover, Imran exhibits effective communication skills and an eye for quality service.

As a Microsoft Certified and PMI Project Management Professional, Imran can migrate a myriad of difficult technologies. Most recently, he migrated a VFP legacy application which communicated to networking equipment. Testing the application without detailed knowledge of the domain was the real challenge.

Imran also dedicates his time to IoT (Internet of Things), as well as Online Sales, and looks to improve upon all of Macrosoft’s existing verticals.
Recent Blogs

How to Virtualize your VFP Application
How to Virtualize your VFP Application
Read Blog
Reimagining Code: Migrating from Java/C++ to Python/Carbon
Reimagining Code: Migrating from Java/C++ to Python/Carbon
Read Blog
Is VB Migration Scary?
Is VB Migration Scary?
Read Blog
Strategies for Successful Legacy VB6 and Classic ASP Migrations to .NET 6
Strategies for Successful Legacy VB6 and Classic ASP Migrations to .NET 6
Read Blog
Why Enterprises Should Think About VFP Migration
Why Enterprises Should Think About VFP Migration
Read Blog