3

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?

Spoike
  • 119,724
  • 44
  • 140
  • 158

3 Answers3

3

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

  • The Razor view engine is built in to ASP.NET MVC
  • 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

AminM
  • 1,658
  • 4
  • 32
  • 48
  • 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 Jun 25 '09 at 14:18
3

StringTemplate is a decent alternative.

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

jamisonLikeCode
  • 703
  • 7
  • 7
3

NDjango - django templates in .net

kolosy
  • 3,029
  • 3
  • 29
  • 48