The Code Generation Network covers all aspects of code generation and model-based development. The site's resources include a database of code generation tools, interviews with leading exponents of code generation and book reviews on code generation and software development in general.
A tutorial for C#/.NET/.NET for FreeBSD that shows you how to implement a rudimentary Instant Messenging application.