I'm looking for a templating library, similar to JsRender, that runs server side on .NET.
Mustache is a non-starter, because it's mostly logic-less. We need something with functionality similar to {{if}}
, {{else}}
, {{for array}}
, and the ability to call custom functions within the template.
In theory, I could probably use JsRender on the server by reading output from WatiN or any other .NET headless browser... but I thought I'd put the question out there in case I can bypass the headless browser part.
Any ideas?