Copied to clipboard

Flag this post as spam?

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


  • Nagarjun 42 posts 74 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

Please Sign in or register to post replies

Write your reply to:

Draft