15 November 2003

C# Code Generation

The TEPS broker components layer in Cockpit is a simple .NET wrapper that serialises request object to XML and post it over HTTP to legacy middleware and de-serialises the XML reply.
Because the facts that it has very simple functionality; almost no business logics; well defined structure; and massive number of broker components needed to be created for this project, I want to explore how to use Enterprise Templates to automatic the code generation to a maximum extent.
What I want is while in the IDE and have the TEPS project open, developer can right click to bring up a wizard dialog to create a few class files and test cases files, then they automatically add to the existing solution structure.