Template merging with NVelocity and ASP.NET
Some time ago I wrote an article for CodeProject about merging templates with NVelocity.
For those who don't know what template merging means, think about a
newsletter management system which needs to send emails to website
users.
Website admins may need to customize the messages according
to user info, that is, greeting the user with a "Hello [username]" or
something like that, and have message templates easy to mantain, maybe
keeping them on the file system as html pages or creating them
dinamically in the code of the application.
How would you do this by hand? Don't think too much, use NVelocity!
In the article I develop a library which greatly eases the use of
NVelocity in ASP.NET applications, as well as in any other type of .NET
projects.
You can read the article as well as download source code and demo files here: Template merging with NVelocity and ASP.NET