Code generators such as CodeCharge Studio, Code On Time, ASPRunner.NET and CodeSmith, and Iron Speed Designer before them, made the first version of many business applications fast. Point the tool at a database and it produces working pages. The trouble comes years later, when those generated pages are what you have to maintain.
How a Generator Builds an Application
A generator reads the database and writes code for each table: a list page, an add page, an edit page, a details page, often a search page too. Custom behavior is added through the tool’s events or by editing the generated code by hand. Either way, the result is a large amount of code that a person did not write and nobody fully knows.
The Arithmetic of Generated Pages
Take an application with 60 tables. At four or five pages per table, that is 240 to 300 pages, each one its own code. Every one has to be fixed, tested and kept in step. Then a simple request arrives, such as “let people filter every list by date”, and it means touching every list page, or regenerating them all and redoing the hand edits.
The effort grows with every table you add. That is the point where owners tell us that small changes have become slow and risky.
Three Ways It Goes Wrong
- Drift. Hand edits are lost when the pages are regenerated, so teams stop regenerating. From then on, the generator project and the real code tell different stories.
- The tool stands still. When the generator is no longer updated, the application is stuck on what the tool produced, usually ASP.NET Web Forms on .NET Framework, which will never come to modern .NET.
- The knowledge leaves. Few developers know an older generator, and fewer want to learn one, so every change depends on the people who remember how it works.
A Different Shape: One Component, Configured
A metadata-driven framework turns this around. Instead of a page of code per table, one grid and one form component serve every page, each set up by metadata: the columns, the filters, the permissions. A change made once, such as filtering by date, applies everywhere at once.
| Generated application | Metadata-driven framework | |
|---|---|---|
| Pages | One code file per page, per table | One shared component, configured for each page |
| A change to every list | Edit or regenerate every page | Made once |
| Custom code | Mixed into generated code | Kept apart, where it is easy to find |
| Platform | Wherever the tool stopped | A maintained framework on .NET 10 |
Getting Out Without Starting Over
Moving off a generator does not mean rewriting from memory. The business rules your team added over the years, usually in event handlers and hand edits, are found and carried across. The data moves with every record and attachment, and the screens keep their shape, so nobody has to relearn their job.
We move applications from code generators to Light Speed Framework on .NET 10, with your data and business rules intact, for one fixed price agreed after a free review. Iron Speed Designer applications have their own page.