Copied to clipboard

Flag this post as spam?

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


  • Jorge 37 posts 119 karma points
    Jan 13, 2017 @ 08:37
    Jorge
    1

    How Umbraco GetDictionaryItem works

    I am using Visual Studio 2015 in debug mode, and running Diagnostic tool. The Umbraco version is 7.5.3

    My question is:

    Do umbraco always travel back to database everytime it use GetDictionaryItem?

    As you can see in my screenshot, everytime I debug, an event was showing it was querying at database, please somebody enlighten me. Thanks

    enter image description here

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Jan 14, 2017 @ 10:38
    Alex Skrypnyk
    0

    Hi Jorge

    Try to use Umbraco helper instead of library:

    Umbraco.GetDictionaryValue("createdOn")
    

    Maybe it will help.

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft