Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Fuji Kusaka 2196 posts 4190 karma points
    Mar 03, 2011 @ 20:01
    Fuji Kusaka

    what is razor?

    Ive just installed v4.7 and am hearing a lot about Razor.... But can anyone explain to me What is razor?




  • Jan Skovgaard 10768 posts 21186 karma points MVP 4x admin c-trib
    Mar 03, 2011 @ 21:36
    Jan Skovgaard

    Hi Fuji

    Razor is a so called "View engine" for ASP.NET MVC...but as you probably have figured out it can work with ASP.NET web forms as well.

    I'm very much a Razor newbie myself but it provides a good alternative (and from what I've read and heard is sometimes even better in some situations than XSLT is) to XSLT. Many backend developers don't like XSLT and they will looove Razor I think :-)

    So basically it's another option you can use to fetch data and decide how it should be rendered and where it should be placed directly in your template, or even in macroes (If I remember correctly).

    You can read a bit more about Razor in general here:

    And more Umbraco specific here:

    I hope this gives you an idea about what it is and the courage to explore it further :-)


  • David Johnson 12 posts 32 karma points
    Oct 21, 2011 @ 12:26
    David Johnson

    Thanks for the links Jan. I found these very helpful.

Please Sign in or register to post replies

Write your reply to: