Razor the new view engine in Umbraco

In Umbraco 4.7.0 Razor in introduced as a view engine and maybe as a replacement for your XSLT scripts. With Razor you have the choise to create the template's of your own choise .vbhtml or .cshtml so there is no learning curve.

Advantages of Razor:

  • Easy to learn
  • Not a new language
  • Use excisting skills: html and you prefered language
  • Unit testable

Because I don't have a fluid XSLT knowledge it's very nice to have the possability to choose voor Razor.

There is a special forum for Razor on Umbraco.org:


And a snippets section which is very nice to start with:






Saving your comment....

Naam is verplicht!
Email is verplicht!
Opmerking is verplicht!