Hi Guys
I have successfully combined the power of both asp.net and vs2005 and as a result created SmartCodeGenerator(asp.net 2.0). And I am glad to announce that I have finally realeased it at Gotdotnet.
The quickstart tutorial can be found at www.smartcodegenerator.com and you can download and play with it from Gotdotnet.
Here is a little overview:
SmartCodeGenerator is an Asp.Net2.0 website application and is a full fledged template based code generator that allows you to generate code for any text language. Templates are written in Visual Studio2005 as asp.net UserControls. The code generation can be dynamically customised by using properties. SmartCodeGenerator Framework reads the asp.net Profile Object specified in web.config and generates UIProperty. You can define any serializable .Net Object Type as properties of asp.net Profile that has a UIProperty. At this stage it support common types such as string, int, boolean and a ScTableSchema type (which represents SQL Server provides information about database tables). But this is 100% extensible and UIProperty for any .Net types can be written very easily.
The SmartCodeGenerator Project is simply an asp.net website project, and SmartCodeGenerator Templates are asp.net UserControls so no need to learn any new technologies. Codes are written as you would normally write for a asp.net application in VS2005.
The current feature list of SmartCodeGenerator includes:
The total development of templates are done in VS2005.
Extensible Template Generation Engine.
Sql Server schema discovery API
Writing asp.net2.0 website application so no need to learn anything new Generate text base output.
Fully Customized template based code generation.
The entire development life cycle of creating custom templates using SmartCodeGenerator is done using VS2005 and you really write an asp.net website. So during the generation of template intellisense, compilation, debug, sourceview, designview, codebehind file and all other features of VS2005 comes free. After you play with this great framework for 5 min, I think you will agree with me saying "Code generation has never been this easy".
Good Luck on your next SmartCodeGenerator Template in VS2005 as a asp.net website.
http://www.smartcodegenerator.com
http://geekswithblogs.net/shahed