Copied to clipboard

Flag this post as spam?

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


  • Nagarjun 39 posts 71 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 12133 karma points MVP 8x 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