Projects / MfGames.Template


The MfGames.Template library is a C# native library for creating template libraries. It was inspired by NVelocity, but was designed from the ground up to use the CIL internals, such as System.CodeDom and internal compilation to handle the template language. Because of this, it supports C# code as the template "language". In addition, compiled templates are actually compiled down into bytecode using the built-in compiler.


Recent releases

  •  07 Apr 2006 17:45

    Release Notes: Templates may now be precompiled into a C# file, suitable for inclusion in the normal compile process. The <%# %> tag set has been added to allow the creation of template variables and additional methods. The <%@ %> tag set has been added for controlling the template at the template file level. Critical bugs with the <%= %> constructs have been fixed.

    •  04 Dec 2005 20:34

      Release Notes: Fixes a bug with Windows compilation and assembly references. Adds the ability to have one template call another and for the calling program to define one or more search patterns to use for filenames (for example, to translate Include("inner") into including the "src/files/inner.template" template). Also converts the entire system to autoconf.

      •  21 Jul 2005 00:10

        No changes have been submitted for this release.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.