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
  • 116,468
  • 43
  • 136
  • 157

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,630
  • 3
  • 32
  • 47
  • 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
  • 693
  • 7
  • 7
3

NDjango - django templates in .net

kolosy
  • 2,926
  • 3
  • 26
  • 48