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:

http://our.umbraco.org/forum/developers/razor

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

http://our.umbraco.org/wiki/reference/code-snippets/razor-snippets

Recent

{{opmerking.Naam}}:

{{opmerking.OpmerkingText}}

            

Saving your comment....

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