Question

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?

Was it helpful?

Solution

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

OTHER TIPS

StringTemplate is a decent alternative.

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

NDjango - django templates in .net

think your question is answered perfectly in an older topic here: JQuery's $ is in conflict with that of StringTemplate.Net in ASP.Net MVC

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top