title: Using ConfigurationBuilder in C# .NET Framework where did my App Service settings go?
body: <p>I'm trying to combine a <em>environment-specific variables in source code</em> to an existing configuration of an <em>App.config-file</em> and <em>AppSettings and ConnectionStrings in Azure App Services</em> for an Azure WebJob (.NET Framework). Having all environment variables in App Services can be quite time-consuming when making changes.</p>
  
  <p>After going through a bunch of blogs and posts on the subject of App.config-tranformations and Azure WebJobs it seems like adding a ConfigurationBuilder is fairly recent way to override environment specific (non-secret) settings. If I'm not mistaken it was added in .NET 4.7.1. It seemed more promising than SlowCheetah and scripting. </p>
  
  <p>But after adding a custom ConfigurationBuilder (similarly to mentioned on link 1) <strong>the app settings specified in app service were no longer included in the result</strong>. I ended up with only entries from app.config-file and custom ConfigurationBuilder. Do I need to retrieve these app setting while making custom entries in the configuration entries? Or should I expand the EnvironmentVariables and modify those XmlNode-entries?</p>
  
  <ol>
  <li><a href="https://jeffreyfritz.com/2017/11/modern-configuration-for-asp-net-4-7-1-with-configurationbuilders/" rel="nofollow noreferrer">https://jeffreyfritz.com/2017/11/modern-configuration-for-asp-net-4-7-1-with-configurationbuilders/</a></li>
  <li><a href="https://docs.microsoft.com/en-us/dotnet/api/system.configuration.configurationbuilder?view=netframework-4.7.2" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/system.configuration.configurationbuilder?view=netframework-4.7.2</a></li>
  </ol>