Generating Your Own Custom Code

You can easily extend Iron Speed Designer to generate custom code of your own in addition to or as a replacement for code that is normally generated by Iron Speed Designer.  This process is different from modifying the application because extending Iron Speed Designer itself to generate your custom code affects all applications you generate in the future.

The code generated by Iron Speed Designer is driven by a set of code template files that contain the parameterized code that will be generated for various aspects of your application.  You can find these code template files in:

…\<Iron Speed Designer>\Designer\CodeGenerator\Templates

Underneath the Templates directory are other folders for the different categories of code generated by Iron Speed Designer.  For example, to modify the code generated for generated page class files, you would modify this code template file.

…\<Iron Speed Designer>\Designer\CodeGenerator\Templates\UI\PageGenClass.aspx.vb