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?

1

3 Answers 3

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

Sign up to request clarification or add additional context in comments.

1 Comment

this answer makes it seem like spark and nhaml (note without 'e') are part of the mvc contrib project which is not the case.
3

StringTemplate is a decent alternative.

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

Comments

3

NDjango - django templates in .net

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.