views:

778

answers:

4

I was reading some posts on Coding Horror blog about working with the horrors of tag soup. It seems like the only way to simplify html generation is to use a templating engine.

Do you know any templating engine for ASP.NET MVC framework?

+1  A: 

think your question is answered perfectly in an older topic here: http://stackoverflow.com/questions/173207/best-template-engine-for-aspnet-mvc

ArjanZuidhof
Yeah, but I find it to be quite out-dated (with answers several months before Release Candidate) and not a community wiki post.
Spoike
+2  A: 

there are many view engines for asp.net mvc framework:

  • Web forms view engine(default)
  • Spark view engine
  • Nhamle view engine
  • … all community contributions on the asp.net mvc framework including view engines can be found on

http://www.codeplex.com/MVCContrib

Marwan Aouida
this answer makes it seem like spark and nhaml (note without 'e') are part of the mvc contrib project which is not the case.
Simon
+1  A: 

StringTemplate is a decent alternative.

Here's the ViewEngine (with Source), and some tutorials.

jamisonLikeCode
+1  A: 

NDjango - django templates in .net

kolosy