views:

217

answers:

3

For building a document generation engine what would be the primary .NET framework to be used in production. The 2 main ones I see are NVelocity and StringTemplate. NVelocity in all forks to be almost unsupported at this point where as ST been active atleast as of this year.

Are either or both of these stable for use in production (if nv which fork)? Has anyone had any particularly good success with or failures using either of those frameworks?

+2  A: 

The Castle Projects fork of NVelocity is pretty stable and has some support behind it.

Can't speak for any of the other forks, but have utilize this a couple of years back (prior to Castle Monorail's other view template framework - Brail - being released) and that web application is still humming away contently.

As to which framework is better I'm not sure as I haven't utilized/played with StringTemplate

saret
+2  A: 

While it is most well known as a view engine for ASP.NET MVC, Spark can be used as a general template engine.

Lachlan Roche
I wasn't aware of that before now, I guess there isn't much that can stand up to the production usage compared to spark if it's both MonoRail and MVC!
Chris Marisic
A: 

If you are looking for a document generation system that you can call from .net, take a look at this SPAM site. It has basic info on all the vendors. It makes for a great starting point. Document generation (docgen) is an automated way of generating and distributing documents. Instead of creating a document manually, the user creates a template, and specific information populates the template when the document is generated.

abubakar