Copied to clipboard

Flag this post as spam?

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


  • Alex Lindgren 159 posts 356 karma points
    Mar 01, 2016 @ 15:47
    Alex Lindgren
    0

    custom App Settings per environment (Dev, Staging, Live)

    Is there a way to set App Settings per environment? I'd love it if UaaS had a settings screen like Azure Websites where you could edit AppSettings for each site. Or can this be handled by web.config transforms? I'm not sure how to do that and this case implies it is not supported:

    http://issues.umbraco.org/issue/UAAS-165

    Thanks,

    Alex

  • M T 35 posts 212 karma points
    Mar 01, 2016 @ 16:11
    M T
    0

    Hi Alex,

    I've never had any problems using .config transforms. I use web.config, web.dev.config, web.uat.config and web.live.config. I use them in the same way I'd use with any app. One thing to note though, technically transforms aren't handled on deployment, they're handled on build.

    https://msdn.microsoft.com/library/dd465318(v=vs.100).aspx

    Regards M

  • Alex Lindgren 159 posts 356 karma points
    Mar 01, 2016 @ 20:55
    Alex Lindgren
    0

    Thanks. That's what I want to do, but I'm still unclear on if this will work for Umbraco as a Service (UaaS). I guess I could try it and assume the Dev enviroment is named Dev.

  • M T 35 posts 212 karma points
    Mar 02, 2016 @ 11:39
    M T
    100

    I've never used Uaas and don't think i ever will, but I'm good pal's with Google and he gave me this.

    https://our.umbraco.org/documentation/Umbraco-as-a-Service/Set-Up/Config-Transforms/

    Regards M

Please Sign in or register to post replies

Write your reply to:

Draft