Copied to clipboard

Flag this post as spam?

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


  • Nagarjun 43 posts 75 karma points
    Feb 25, 2021 @ 05:21
    Nagarjun
    0

    UmbracoDBDSN from class file

    Hi,

    I'm hosting my website on Azure cloud. Instead of storing them in config files, can anyone help me in loading the connection string from a class file.

    -thanks in advance.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Feb 25, 2021 @ 15:32
    Dave Woestenborghs
    0

    Hi Nagarjun,

    Don't think it's possible from a class file. But you can set it in the Azure portal so you don't need it to be in the web.config.

    Dave

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies