Copied to clipboard

Flag this post as spam?

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


  • Dima Stefantsov 100 posts 225 karma points
    Apr 09, 2013 @ 18:44
    Dima Stefantsov
    0

    The way of implementing MVC/Razor stuff

    Hi Anthony. I look at two Razor-ified Umbraco packages: ublogsy and ucommerce. At first I was wondering why ucommerce implemented their Razor this way: templates contain aspx code, with simple <Macro:>, which refers to cshtml. I have found that this way is not making my developer work harder. But it allows me to use ?umbDebugShowTrace=true and see statistics. While in your "pure mvc" way it doesn't show any info. Is there no way to get such debug information for your razor ublogsy?

    If there is not, maybe it's worth to make it like ucommerce did: put logic to cshtml macros, and leave templates in aspx?

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Apr 10, 2013 @ 13:06
    Anthony Dang
    0

    A lack of trace is an MVC issue.

    uBlogsy 3.0 is built using MVC.

    Trace is only available in Webforms mode. If you want to use Webforms, you can use uBlogsy 2.x.

     

Please Sign in or register to post replies

Write your reply to:

Draft