x First time here? Check out the FAQ
  • Avatar922posts956karma

    XSLT Vs Razor Navigation

    Fuji started this topic More than a year ago , this topic was edited at: Monday, April 18, 2011 11:39 PM

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

     

     


  • Replies

  • Avatar2712posts5570karma
    admin Comment with ID: 74296
    Sebastiaan Janssen posted this reply More than a year ago

    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.


  • Avatar922posts956karma
    Comment with ID: 74299
    Fuji posted this reply More than a year ago

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

     

     


  • Avatar1261posts2223karma
    Comment with ID: 74309
    Chriztian Steinmeier posted this reply More than a year ago

    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 login or Sign up To post replies