{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet/Docs/pulls/comments/64966733","id":64966733,"diff_hunk":"@@ -15,25 +15,24 @@ ASP.NET Core supports a variety of different configuration options. Application\n Getting and setting configuration settings\n ------------------------------------------\n \n-ASP.NET Core's configuration system has been re-architected from previous versions of ASP.NET, which relied on ``System.Configuration`` and XML configuration files like ``web.config``. The new :doc:`configuration model </fundamentals/configuration>` provides streamlined access to key/value based settings that can be retrieved from a variety of sources. Applications and frameworks can then access configured settings using the new :ref:`Options pattern <options-config-objects>`\n+ASP.NET Core's configuration system has been re-architected from previous versions of ASP.NET, which relied on ``System.Configuration`` and XML configuration files like ``web.config``. The new configuration model provides streamlined access to key/value based settings that can be retrieved from a variety of sources. Applications and frameworks can then access configured settings using the new :ref:`Options pattern <options-config-objects>`\n \n-To work with settings in your ASP.NET application, it is recommended that you only instantiate an instance of ``Configuration`` in your application's ``Startup`` class. Then, use the :ref:`Options pattern <options-config-objects>` to access individual settings.\n+To work with settings in your ASP.NET application, it is recommended that you only instantiate a ``Configuration`` in your application's ``Startup`` class. Then, use the :ref:`Options pattern <options-config-objects>` to access individual settings.\n \n-At its simplest, the ``Configuration`` class is just a collection of ``Sources``, which provide the ability to read and write name/value pairs. You must configure at least one provider in order for ``Configuration`` to function correctly. The following sample shows how to test working with ``Configuration`` as a key/value store:\n+At its simplest, ``Configuration`` is just a collection of ``Sources``, which provide the ability to read and write name/value pairs. You must configure at least one source in order for ``Configuration`` to function correctly. The following sample shows how to test working with ``Configuration`` as a key/value store:\n \n .. code-block:: c#\n \n-  // assumes using Microsoft.Framework.ConfigurationModel is specified\n   var builder = new ConfigurationBuilder();\n-  builder.Add(new MemoryConfigurationProvider());\n+  builder.Add(new MemoryConfigurationSource());","path":"aspnet/fundamentals/configuration.rst","position":27,"original_position":27,"commit_id":"df682a9a6364b70911a80b705459288831ea135d","original_commit_id":"df682a9a6364b70911a80b705459288831ea135d","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},"body":"`builder.AddInMemoryCollection()` is way I expect most customers to do this.","created_at":"2016-05-27T21:09:31Z","updated_at":"2016-05-27T21:09:31Z","html_url":"https://github.com/aspnet/Docs/pull/1306#discussion_r64966733","pull_request_url":"https://api.github.com/repos/aspnet/Docs/pulls/1306","_links":{"self":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/comments/64966733"},"html":{"href":"https://github.com/aspnet/Docs/pull/1306#discussion_r64966733"},"pull_request":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/1306"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet/Docs/pulls/1306","id":71702795,"html_url":"https://github.com/aspnet/Docs/pull/1306","diff_url":"https://github.com/aspnet/Docs/pull/1306.diff","patch_url":"https://github.com/aspnet/Docs/pull/1306.patch","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/1306","number":1306,"state":"open","locked":false,"title":"Cleanup of Configuration after RC2 update","user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"body":"This is effectively  #1301 rebased on top of #1231.\r\n\r\nFor some of the changes, it may not be obvious why I did them, so feel free to ask.","created_at":"2016-05-27T12:06:53Z","updated_at":"2016-05-27T21:09:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a36c107d2cb6e66bc554e83e050d6bc31392ea74","assignee":{"login":"Rick-Anderson","id":3605364,"avatar_url":"https://avatars.githubusercontent.com/u/3605364?v=3","gravatar_id":"","url":"https://api.github.com/users/Rick-Anderson","html_url":"https://github.com/Rick-Anderson","followers_url":"https://api.github.com/users/Rick-Anderson/followers","following_url":"https://api.github.com/users/Rick-Anderson/following{/other_user}","gists_url":"https://api.github.com/users/Rick-Anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/Rick-Anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rick-Anderson/subscriptions","organizations_url":"https://api.github.com/users/Rick-Anderson/orgs","repos_url":"https://api.github.com/users/Rick-Anderson/repos","events_url":"https://api.github.com/users/Rick-Anderson/events{/privacy}","received_events_url":"https://api.github.com/users/Rick-Anderson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/Docs/pulls/1306/commits","review_comments_url":"https://api.github.com/repos/aspnet/Docs/pulls/1306/comments","review_comment_url":"https://api.github.com/repos/aspnet/Docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/1306/comments","statuses_url":"https://api.github.com/repos/aspnet/Docs/statuses/df682a9a6364b70911a80b705459288831ea135d","head":{"label":"svick:configuration-rc2","ref":"configuration-rc2","sha":"df682a9a6364b70911a80b705459288831ea135d","user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"repo":{"id":57324506,"name":"Docs","full_name":"svick/Docs","owner":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svick/Docs","description":"Documentation for ASP.NET 5","fork":true,"url":"https://api.github.com/repos/svick/Docs","forks_url":"https://api.github.com/repos/svick/Docs/forks","keys_url":"https://api.github.com/repos/svick/Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svick/Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svick/Docs/teams","hooks_url":"https://api.github.com/repos/svick/Docs/hooks","issue_events_url":"https://api.github.com/repos/svick/Docs/issues/events{/number}","events_url":"https://api.github.com/repos/svick/Docs/events","assignees_url":"https://api.github.com/repos/svick/Docs/assignees{/user}","branches_url":"https://api.github.com/repos/svick/Docs/branches{/branch}","tags_url":"https://api.github.com/repos/svick/Docs/tags","blobs_url":"https://api.github.com/repos/svick/Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svick/Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svick/Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/svick/Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svick/Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/svick/Docs/languages","stargazers_url":"https://api.github.com/repos/svick/Docs/stargazers","contributors_url":"https://api.github.com/repos/svick/Docs/contributors","subscribers_url":"https://api.github.com/repos/svick/Docs/subscribers","subscription_url":"https://api.github.com/repos/svick/Docs/subscription","commits_url":"https://api.github.com/repos/svick/Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/svick/Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/svick/Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/svick/Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/svick/Docs/contents/{+path}","compare_url":"https://api.github.com/repos/svick/Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svick/Docs/merges","archive_url":"https://api.github.com/repos/svick/Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svick/Docs/downloads","issues_url":"https://api.github.com/repos/svick/Docs/issues{/number}","pulls_url":"https://api.github.com/repos/svick/Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/svick/Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/svick/Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svick/Docs/labels{/name}","releases_url":"https://api.github.com/repos/svick/Docs/releases{/id}","deployments_url":"https://api.github.com/repos/svick/Docs/deployments","created_at":"2016-04-28T18:23:17Z","updated_at":"2016-04-28T18:23:24Z","pushed_at":"2016-05-27T12:17:51Z","git_url":"git://github.com/svick/Docs.git","ssh_url":"git@github.com:svick/Docs.git","clone_url":"https://github.com/svick/Docs.git","svn_url":"https://github.com/svick/Docs","homepage":null,"size":37734,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aspnet:master","ref":"master","sha":"65233a8c848f08319e87b14170007f86e555ab27","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":28239455,"name":"Docs","full_name":"aspnet/Docs","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/Docs","description":"Documentation for ASP.NET Core","fork":false,"url":"https://api.github.com/repos/aspnet/Docs","forks_url":"https://api.github.com/repos/aspnet/Docs/forks","keys_url":"https://api.github.com/repos/aspnet/Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/Docs/teams","hooks_url":"https://api.github.com/repos/aspnet/Docs/hooks","issue_events_url":"https://api.github.com/repos/aspnet/Docs/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/Docs/events","assignees_url":"https://api.github.com/repos/aspnet/Docs/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/Docs/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/Docs/tags","blobs_url":"https://api.github.com/repos/aspnet/Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/Docs/languages","stargazers_url":"https://api.github.com/repos/aspnet/Docs/stargazers","contributors_url":"https://api.github.com/repos/aspnet/Docs/contributors","subscribers_url":"https://api.github.com/repos/aspnet/Docs/subscribers","subscription_url":"https://api.github.com/repos/aspnet/Docs/subscription","commits_url":"https://api.github.com/repos/aspnet/Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/Docs/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/Docs/merges","archive_url":"https://api.github.com/repos/aspnet/Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/Docs/downloads","issues_url":"https://api.github.com/repos/aspnet/Docs/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/Docs/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/Docs/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/Docs/deployments","created_at":"2014-12-19T17:38:02Z","updated_at":"2016-05-26T09:04:09Z","pushed_at":"2016-05-27T20:53:28Z","git_url":"git://github.com/aspnet/Docs.git","ssh_url":"git@github.com:aspnet/Docs.git","clone_url":"https://github.com/aspnet/Docs.git","svn_url":"https://github.com/aspnet/Docs","homepage":"","size":48682,"stargazers_count":501,"watchers_count":501,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":849,"mirror_url":null,"open_issues_count":167,"forks":849,"open_issues":167,"watchers":501,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/1306"},"html":{"href":"https://github.com/aspnet/Docs/pull/1306"},"issue":{"href":"https://api.github.com/repos/aspnet/Docs/issues/1306"},"comments":{"href":"https://api.github.com/repos/aspnet/Docs/issues/1306/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/1306/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/Docs/pulls/1306/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/Docs/statuses/df682a9a6364b70911a80b705459288831ea135d"}}}}
{"actor":{"display_login":"divega"}}