{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Configuration/issues/299","labels_url":"https://api.github.com/repos/aspnet/Configuration/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Configuration/issues/299/comments","events_url":"https://api.github.com/repos/aspnet/Configuration/issues/299/events","html_url":"https://github.com/aspnet/Configuration/issues/299","id":108249912,"number":299,"title":"Should we still take providers list in ConfigurationBuilder constructor?","user":{"login":"divega","id":1253414,"avatar_url":"https://avatars.githubusercontent.com/u/1253414?v=3","gravatar_id":"","url":"https://api.github.com/users/divega","html_url":"https://github.com/divega","followers_url":"https://api.github.com/users/divega/followers","following_url":"https://api.github.com/users/divega/following{/other_user}","gists_url":"https://api.github.com/users/divega/gists{/gist_id}","starred_url":"https://api.github.com/users/divega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divega/subscriptions","organizations_url":"https://api.github.com/users/divega/orgs","repos_url":"https://api.github.com/users/divega/repos","events_url":"https://api.github.com/users/divega/events{/privacy}","received_events_url":"https://api.github.com/users/divega/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T02:20:10Z","updated_at":"2015-09-25T04:27:40Z","closed_at":null,"body":"Some providers will depend on data in the configuration builder's `Properties` to initialize correctly (right now the only example of this are the file-based providers which use `GetBasePath()` to figure out the full paths of configuration files, but things can evolve to include more cases). \r\n\r\nAt least the way things are implemented right now, providers will only get wired up correctly if the configuration builder is created empty and the sources are added through the `AddXyz()` methods.\r\n\r\nIf providers can still be passed to the ConfigurationBuilder's constructor, but then the burden of initializing the provider correctly (e.g. resolve the full path for configuration files) is on the application. It seems that the value of passing the providers in the constructor argument has diminished. "},"comment":{"url":"https://api.github.com/repos/aspnet/Configuration/issues/comments/143121708","html_url":"https://github.com/aspnet/Configuration/issues/299#issuecomment-143121708","issue_url":"https://api.github.com/repos/aspnet/Configuration/issues/299","id":143121708,"user":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T04:27:40Z","updated_at":"2015-09-25T04:27:40Z","body":"Agreed."}}