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 2203 posts 4220 karma points
    Apr 18, 2011 @ 21:17
    Fuji Kusaka
    0

    XSLT Vs Razor Navigation

    What is best to use for Navigation?? XLST or Razor??

     

     

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Apr 18, 2011 @ 21:19
    Sebastiaan Janssen
    1

    This really is just a matter of preference and how comfortable you are with either C# or XSLT. There is hardly any performance difference, but if you look closely Razor is slightly (milliseconds) slower than XSLT.

  • Fuji Kusaka 2203 posts 4220 karma points
    Apr 18, 2011 @ 21:30
    Fuji Kusaka
    0

    So it will be better for me to make my navigation in XSLT since am building a website of approx 150 pages??

     

     

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 8x admin c-trib
    Apr 18, 2011 @ 23:39
    Chriztian Steinmeier
    0

    Hi Fuji,

    Like Sebastiaan says, it's a close call - best advice is to just try it. Navigation is very easy in Umbraco; Whether you choose Razor or XSLT, there are built-in templates to get you started. Just try to build the same navigation with both, and see which one you're more comfortable modifying.

    Go go go !

    /Chriztian

Please Sign in or register to post replies

Write your reply to:

Draft