I am looking for a .net templating engine - something simple, lightweight, stable with not too many dependencies. All I need it for at the moment is creating templated plain text and html emails. Can anyone give me a good recommendation?
If it helps at all - something like Java's Freemarker or Velocity libraries.
[UPDATE] Thanks for the answers so far - much appreciated. I am really intested in recommendations or war stories from when you have used these libraries. Seems to be the best way to make a decision without trying each in turn.
You actually dont need them, but they have a lot of features that makes your pages more dynamic..
Using template engines for complex front end rendering is bad and not a good practice.
A template engine enables you to use static template files in your application. At runtime, the template engine replaces variables in a template file with actual values, and transforms the template into an HTML file sent to the client. This approach makes it easier to design an HTML page.
Here's a couple more:
About NVelocity, it has been forked by the Castle guys, it's being developed here
For emails, I've never needed more than NVelocity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With