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:
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.
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.
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
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
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.
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
is working on a reply...