{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Configuration/issues/344","labels_url":"https://api.github.com/repos/aspnet/Configuration/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Configuration/issues/344/comments","events_url":"https://api.github.com/repos/aspnet/Configuration/issues/344/events","html_url":"https://github.com/aspnet/Configuration/issues/344","id":118528583,"number":344,"title":"RC1 Not reading Azure App Service Connection Strings","user":{"login":"damienpontifex","id":1321276,"avatar_url":"https://avatars.githubusercontent.com/u/1321276?v=3","gravatar_id":"","url":"https://api.github.com/users/damienpontifex","html_url":"https://github.com/damienpontifex","followers_url":"https://api.github.com/users/damienpontifex/followers","following_url":"https://api.github.com/users/damienpontifex/following{/other_user}","gists_url":"https://api.github.com/users/damienpontifex/gists{/gist_id}","starred_url":"https://api.github.com/users/damienpontifex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienpontifex/subscriptions","organizations_url":"https://api.github.com/users/damienpontifex/orgs","repos_url":"https://api.github.com/users/damienpontifex/repos","events_url":"https://api.github.com/users/damienpontifex/events{/privacy}","received_events_url":"https://api.github.com/users/damienpontifex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-24T04:18:07Z","updated_at":"2015-12-10T07:45:35Z","closed_at":null,"body":"It seems after I updated to RC1-final, my configuration code is only reading Azure AppSettings and not Connection Strings.\r\n\r\nConfiguration builder code only changed to remove the base path as part of the RC1 update and is now:\r\n\r\n```c#\r\n// Setup configuration sources.\r\nvar builder = new ConfigurationBuilder()\r\n\t.AddJsonFile(\"appsettings.json\");\r\n\r\nif (env.IsDevelopment())\r\n{\r\n\tbuilder.AddUserSecrets();\r\n\tbuilder.AddApplicationInsightsSettings(developerMode: true);\r\n}\r\n\r\nbuilder.AddEnvironmentVariables();\r\n\r\nConfiguration = builder.Build();\r\n```\r\n\r\nI found this as storage was trying to use Development Storage and EF was trying to use localdb when deployed in Azure.\r\n\r\nIf I move all the values defined in Connection Strings into App Settings everything works fine again."},"comment":{"url":"https://api.github.com/repos/aspnet/Configuration/issues/comments/163525778","html_url":"https://github.com/aspnet/Configuration/issues/344#issuecomment-163525778","issue_url":"https://api.github.com/repos/aspnet/Configuration/issues/344","id":163525778,"user":{"login":"bradygaster","id":486363,"avatar_url":"https://avatars.githubusercontent.com/u/486363?v=3","gravatar_id":"","url":"https://api.github.com/users/bradygaster","html_url":"https://github.com/bradygaster","followers_url":"https://api.github.com/users/bradygaster/followers","following_url":"https://api.github.com/users/bradygaster/following{/other_user}","gists_url":"https://api.github.com/users/bradygaster/gists{/gist_id}","starred_url":"https://api.github.com/users/bradygaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradygaster/subscriptions","organizations_url":"https://api.github.com/users/bradygaster/orgs","repos_url":"https://api.github.com/users/bradygaster/repos","events_url":"https://api.github.com/users/bradygaster/events{/privacy}","received_events_url":"https://api.github.com/users/bradygaster/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T07:45:35Z","updated_at":"2015-12-10T07:45:35Z","body":"The issue I posted isn't related to the AppSettings/ConnectionStrings issue. The SDK tooling is setting the ConnectionStrings in Azure. Apologies for not being 100% clear on what the runtime is doing in this circumstance - I'll dig deeper on this to find out what's up."}}