Click here to Skip to main content

Code Generation articles

This section contains articles on automated Code Generation. Please be aware that we do not accept articles on commericial third party tools.

Great Reads

by Nicolas Dorier
Stop wasting time on a stupid typo in binding paths.
by Nicolas Dorier
Enhance Visual Studio and your build process in just two clicks. This tool does its best to be out of your way, while improving your development experience seemlessly.
by Olivier Giulieri
A generic Web User Interface for CRUD applications generating all screens at run-time based on external metadata. It comes with sample applications for address book, memo pad, to do list, restaurants list, wine cellar, and database structure documentation that are easily customizable.
by Pablo Fernandez Duran
This article will show you how to generate a JSON base web service layer from an existing database using CodeFluent Entities. We will also generate a web client back office following an “Import wizard”.

Latest Articles

by Gurdeep Singh Toor
A Complete Guide to develop aplication using MyGeneration code genration framework. We will develop a Meeting Room Booking web application in this Article.
by Seb Carss
Whenever I need to add a new feature to some legacy code I attempt to add some tests around the …Continue reading →
by Dave Clemmer
Mo+ is the first technology that fully supports model oriented development, allowing software developers to powerfully scale the work they already do.
by Gilly Barr
CodeProjectWhen working with AngularJS, you frequently update the DOM after the DOM was already 'ready'.What I mean by that is that the browser will load the DOM, and the template will completely load. BUT, your template might have an 'ng-if' or 'ng-repeat' directive that will only be attached to th

Discussions

by Gurdeep Singh Toor on article "A complete guide to object oriented...
by Gurdeep Singh Toor on article "A complete guide to object oriented...
by Yoldas Askan on Article "Improve compile times with forward...
by Alireza Hassanzade on article "Customized Three-tier (layer)...
by Andreas Gieriet on Article "Setting up COCO/R for use in C#...

All Articles

Sort by Updated

Sponsored Articles 

4 Feb 2013
Pablo Fernandez Duran
This article will show you how to generate a JSON base web service layer from an existing database using CodeFluent Entities. We will also generate a web client back office following an “Import wizard”.
Sort by Updated

General 

22 Aug 2014
Gurdeep Singh Toor
A Complete Guide to develop aplication using MyGeneration code genration framework. We will develop a Meeting Room Booking web application in this Article.
12 Aug 2014
Dave Clemmer
Mo+ is the first technology that fully supports model oriented development, allowing software developers to powerfully scale the work they already do.
18 Jul 2014
Dave Clemmer
Using Mo+ to generate a working application, which includes an Entity Framework model, OData services, view model client, and WPF application.
18 Jul 2014
Dave Clemmer
Comparing the relative effectiveness of CodeSmith, T4, and Mo+ in meeting code generation requirements.
16 Jun 2014
Lothar Behrens
How code generation can make the distributed architecture an easy task
13 Jun 2014
Right Handed Monkey
Great Code Syntax Highlighter for Blog Posting
16 Mar 2014
Sabarinathan A
Branch Level Code Coverage with NUnit, OpenCover, ReportGenerator and Visual Studio Integration
10 Dec 2013
Rahim Lotfi
Customized Three-tier (layer) Architecture for Application and Web Design
11 Nov 2013
Bill_Hallahan
Code generator writes argument parsing code.
22 Oct 2013
Bill_Hallahan
Program to change the bracketing style of auto-generated code.
20 Oct 2013
Bill_Hallahan
C code generator uses program make_cpp_class.py input file
20 Oct 2013
Bill_Hallahan
Generate C++ class header and implementation files automatically
19 Oct 2013
Bill_Hallahan
The following program is a code generator that generates a C program or a C++ program that has auto-generated parsing code.
23 Sep 2013
AbhishekGoenka
This article describes the step by step process of creating project template and VSIX installer that deploys the project template.
4 Aug 2013
Lothar Behrens
Customizing generated code to support phone number formatting
29 Jul 2013
Lothar Behrens
When you wonder how boring the repetive work is, think about model driven development.
3 Apr 2013
Eric Reynolds
Quickly churn out repetitive C++, C#, or Java code from any data that Python can read.
25 Feb 2013
Suresh Malluri
Project Structure and build scenarios
11 Feb 2013
gggustafson
This article presents two Windows utilities that copy the contents of directories and subdirectories from one directory to another. Transfer uses a graphical interface; XFR is a console application.
9 Dec 2012
MarkChimes2
A small utility that generates C# code for each of the layers in an nTiered system.
8 Aug 2012
pchinery
Shows how to use the DataStorage classes to generate type-safe settings classes.
8 Jul 2012
Christopher R Davis
Support multi-team development using modelling and code generation
6 Jul 2012
mauriciobarros
Custom code generator for C# programming language. Supports MVC and three-tier architecture; ADO.NET, NHibernate and LINQ data access
12 Jun 2012
Herbrandson
How to use the DynamicMethod and ILGenerator classes to create dynamic code at runtime that outperforms Reflection.
29 May 2012
Joshi, Rushikesh
Create a customized project template, and let your team use it for repaid development.
21 Jan 2012
Nicolas Dorier
Access xaml resources in a strongly typed way
9 Jan 2012
Nicolas Dorier
Stop wasting time on a stupid typo in binding paths.
28 Dec 2011
Olivier Giulieri
A look at the minimal metadata needed (database mapping and user interface) for generic CRUD applications using the example of a to do list.
20 Dec 2011
Shahriar Iqbal Chowdhury/Galib
T4 templetes with built-in support for CRUD operations, that utilize XML/XSD for DAL/BLL generation.
29 Nov 2011
Nicolas Dorier
Generate, verify, modify code files automatically during the build process of your projects.
15 Nov 2011
saharkiz
Using a table name as the querystring to generate admin views
15 Nov 2011
Nicolas Dorier
An introduction to Genuilder Extensibility
13 Nov 2011
Nicolas Dorier
Generate your own code during compilation without MSBuild knowledge
2 Nov 2011
kornman00
Using LINQ Expression Trees to auto generate binary streaming methods for enums.
4 Oct 2011
AVIDeveloper
An XML/XSLT based solution for auto-generating API and code.
9 Sep 2011
Lunadix
This article discusses Luna Data Layer Code Generator for VB.NET.
25 Aug 2011
Nadege Rouelle
This article shows how to create a database project to manage database scripts in Visual Studio
6 Aug 2011
Esteban Alvarez
Shows how to generate entity classes by calling an utility from a powershell script
1 Jun 2011
Christopher R Davis, Ben Traynor
Bind your UI controls to generated objects generically
20 Apr 2011
Colin Eberhardt
This article describes a technique for automating codesnippets which are associated with a class via attributes. This results in a declarative approach to the generation of boiler-plate code.
12 Apr 2011
Jephunneh Malazarte
How to use Generics and Reflection in order to programmatically create SQL scripts using C#.
2 Apr 2011
PIEBALDconsult
Copying base class constructors to derived classes
21 Mar 2011
rodrigogroff
The main goal of the kit is enabling people to create C# Open Source software with this platform - you can export and import any project done with it... similar to SourceForge, but more .NET oriented.
23 Feb 2011
Jon_Slaughter
Design a Statemachine in XML and generate a C# code representing it.
19 Feb 2011
Christopher R Davis
How to use the nHydrate ADO.NET generator and keep your database in sync.
18 Feb 2011
Christopher R Davis
How to use the nHydrate Generator Library.
3 Nov 2010
gordon_matt
Code generator for creating XML serializable classes from scanning the XML file itself.
27 Aug 2010
suranjithe
Helps you to use your resource file to build automated versioning controller
4 Aug 2010
Sebastien Termote
Add-in Visual Studio 2008 for automatically generating properties (Getter and Setter)
22 Jul 2010
Christopher R Davis, Micheal Knight
This article details how to use nHydrate to add an auditing framework to the nHydrate DAL and Entity Framework DAL.
14 Jul 2010
Christopher R Davis, Michael S Knight
Generate an Entity Framework data access layer using an nHydrate model.
29 Jun 2010
vbnetskywalker
A tool which helps in generating codes for events/properties, so that users of your classes can use events/properties of embedded classes
29 Jun 2010
ShlomiAtia
The code writer allows to transparently write code for C# and Java, for applications like serialization, equality, etc.
26 Jun 2010
Nicolas Dorier
Practical use case of Genuilder.Extensibility: Strongly typed AppSettings.
14 Jun 2010
Jeremy Hutchinson
Using T4 to generate a wrapper for a WCF Client
11 Jun 2010
prasonu123
Tips: Using proper guidelines and a template-framed style of coding will really helps developer to enjoy the coding with more understandable, reliable code and application development.
11 Jun 2010
Abhishek Sur
All about Project and Item Templates. You can use Custom Templates to make your development process faster than you ever think. Create your own Template for Visual Studio and distribute with all others. You can also learn how to create an installer to install a template.
11 Jun 2010
Olivier Giulieri
A generic Web User Interface for CRUD applications generating all screens at run-time based on external metadata. It comes with sample applications for address book, memo pad, to do list, restaurants list, wine cellar, and database structure documentation that are easily customizable.
8 Jun 2010
Olivier Giulieri
Looking at the possibility of using CRUD applications to manage other CRUD applications inside a web browser and without any hand-coding. Also, presenting a step wizard deriving the database structure from the UI rather than the opposite.
8 Jun 2010
hdv212
An open source code generation utility with some useful features to generate procedures,class for tables and .net code for procedures automatically.
7 Jun 2010
Stein Borge
YACGen template construction introduction
7 Jun 2010
Ali Imran Khan Shirani
RAD Tool for C++ Developers, Code Generator
4 Jun 2010
Syeda Anila Nusrat
Create a Business Logic Layer, Data Access Layer classes, and Stored Procedure scripts from a database table.
6 May 2010
c2423
How to set up the COCO/R compiler with Visual Studio
26 Jan 2010
Christopher R Davis, Michael S Knight
Using LINQ with an nHydrate API for aggregation and bulk operations.
15 Jan 2010
shivashankarp
SharpTemplate enhances Script# by providing statically compiled, strong typed, super efficient HTML templating. This article is a tutorial for using SharpTemplate.
5 Jan 2010
Christopher R Davis, Michael S Knight
A comparison of nHydrate and the Entity Framework
4 Jan 2010
Leftend
A simple how-to on using the Custom Formatter capability within the AutoMapper library.
3 Jan 2010
gaurav_verma_mca
What is Aspect oriented programming and where do I use it?
31 Dec 2009
Christopher R Davis, Michael S Knight
Extend nHydrate with your own custom generator templates.
29 Dec 2009
Matthew Baxter-Reynolds
This article acts as an introduction to those looking to work with BootFX - an Open Source .NET application framework.
10 Dec 2009
Christopher R Davis, Michael S Knight
Generate applications using Inversion of Control with the nHydrate code generator.
10 Nov 2009
Nicolas Dorier
Enhance Visual Studio and your build process in just two clicks. This tool does its best to be out of your way, while improving your development experience seemlessly.
9 Nov 2009
Richard MacCutchan
Creating a custom wizard under Visual C++ Express
7 Nov 2009
Daniel Vaughan
Generate project metadata with T4 and unburden yourself from string literals in XAML binding expressions and INotifyPropertyChanged event arguments.
18 Oct 2009
Nicolas Dorier
How to extend MSBuild to dynamically compile stuff during a build.
9 Oct 2009
eabidi77
A cool utility to convert XML schemas to classes.
19 Aug 2009
PIEBALDconsult
A method that uses a CodeDomProvider to compile program code from a string into an Assembly.
12 Jun 2009
Franck Paquier
NAnt user task that adds alarms on top of Source Monitor metrics to highlight source code that does not follow coding rules.
4 Jun 2009
Ronald Schlenker
Semi-automatic GUI generation from Domain Models.
12 Mar 2009
Tiago Freitas Leal
The best kept secrets of CslaGen code generation and customization of generated Business Objects.
9 Mar 2009
PIEBALDconsult
A console application to generate enumerations from a database query
13 Feb 2009
latticesoft
XEML (Entity Markup Language) for Code Generation
8 Jan 2009
Paw Jershauge
Generate class shells from SQL Server database tables, (SQL 2005 & 2008 only). Output languages supported: C# and VB.NET.
28 Dec 2008
Stein Borge
How to populate properties and customize layout.
22 Dec 2008
Stein Borge
Template based code generator
22 Dec 2008
James Nies
Using NArrange to organize C# source code.
13 Dec 2008
Dmitri Nеstеruk
A small VS add-in to implement a Visitor pattern.
6 Dec 2008
Dmitri Nеstеruk
Describes a small VS add-in for making decorators from existing code.
6 Dec 2008
TL Wallace
Class diagram and code generation tool.
30 Nov 2008
Dmitry Zubrilin
A 3-tier application framework and code generation tool - the way for rapid and effective development.
25 Nov 2008
Adeel Hussain
Generate properties from class variables using macro
15 Nov 2008
Mike Pagel
Taking advantage of the inherits directive in text templates to allow for a clean extension of the generated template class.
7 Nov 2008
icemanind
How to automatically create data access layers and business layers from a Microsoft Access or a SQL Server database
25 Sep 2008
Serghei Sarafudinov
Using XML technologies for Model-Driven Engineering.
24 Aug 2008
Eduard Ene
An article on EGen - a scalable code generation and maintenance framework for C/C++/C#/Java, implemented in Ruby.
19 Aug 2008
baker.alex
Generate source code and database scripts for any language or platform.
7 Aug 2008
BoneSoft
Describes a short hand modeling language for specifying and rendering .NET code models quickly and easily.
3 Aug 2008
Dave Elliott
An article on how to generate source code as well as populate Excel Spreadsheets.
1 Aug 2008
Lionel LASKE
Learn how to generate your own code for the DLR using an Abstract Syntax Tree.
26 Jul 2008
Shakeel Iqbal
A powerful tool for rapid application development.
10 Jul 2008
mark merrens
Generate 1 to n classes from database tables
30 May 2008
Ricky Wang
This article concisely introduces StringTemplate with a practical .NET code generation example. The scenario includes common issues when it comes to code generation such as conditionally generating codes, loop, and token replacement.
26 May 2008
Dustin Metzgar
A .Net 2.0 library that converts XMI into CodeDom. Part 1 introduces the library.
16 May 2008
Dane Balia
Creating a DAL DLL using Subsonic and MySQL.
3 May 2008
WillCaptain
ORMaper solution based on .NET (C#), add-in for VS IDE, and auto generating ORMaper code.
8 Feb 2008
Adam Langley
Writing asynchronous code requires repetative programming if you have synchronous method stubs as well. This code generator creates them for you.
27 Jan 2008
Sacha Barber
How to use CodeDOM and CompilerServices to dynamically create assemblies/apps.
14 Jul 2007
daluu
Framework for porting code between different languauges and platforms through a standard XML schema.
1 Jul 2007
Piyush S Bhatnagar
This article explains how CodeDOM can be used to generate code dynamcially and build it using dynamic code compilation. It also explains how to apply custom attributes.
31 Jul 2006
Chris Micali
This article provides a step-by-step example of how to create a basic application with model driven development using AndroMDA for code generation.
26 Jul 2006
Chris Micali
This article serves as an introduction to AndroMDA, and covers the basics of model driven development.
22 Jul 2006
statedriven
Drawing state diagrams, and C# code generation for the modified QF4Net.
7 Jun 2006
stewartamackenzie
Enable intellisense for SQL Server repositories of messages, defaults, etc., in ASP.NET using BuildProvider.
18 Jan 2006
André Janus
Compile C#-Code using Microsoft.CSharp and System.CodeCom.Compiler


Advertise | Privacy | Mobile
Web04 | 2.8.140922.1 | Last Updated 23 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid