{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/7927","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/7927/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/7927/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/7927/events","html_url":"https://github.com/aspnet/Docs/issues/7927","id":346925596,"node_id":"MDU6SXNzdWUzNDY5MjU1OTY=","number":7927,"title":"Missing examples for configuration in ConfigureServices","user":{"login":"StevenLiekens","id":1583241,"node_id":"MDQ6VXNlcjE1ODMyNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1583241?v=4","gravatar_id":"","url":"https://api.github.com/users/StevenLiekens","html_url":"https://github.com/StevenLiekens","followers_url":"https://api.github.com/users/StevenLiekens/followers","following_url":"https://api.github.com/users/StevenLiekens/following{/other_user}","gists_url":"https://api.github.com/users/StevenLiekens/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenLiekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenLiekens/subscriptions","organizations_url":"https://api.github.com/users/StevenLiekens/orgs","repos_url":"https://api.github.com/users/StevenLiekens/repos","events_url":"https://api.github.com/users/StevenLiekens/events{/privacy}","received_events_url":"https://api.github.com/users/StevenLiekens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T09:11:55Z","updated_at":"2018-08-02T09:15:05Z","closed_at":null,"author_association":"NONE","body":"This paragraph:\n\n&gt; Since options are typically loaded from configuration, configuration can be used in startup in both Configure and ConfigureServices. For examples of using configuration during startup, see the Application startup topic.\n\nIt links to a page that doesn't actually show how to get an IOptions&lt;&gt; in the Configure or ConfigureServices methods.\n\nhttps://docs.microsoft.com/en-us/aspnet/core/fundamentals/startup?view=aspnetcore-2.1\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: ed39cb0e-aa85-8bba-ffb4-859b56a60723\n* Version Independent ID: dc7e3449-650b-d117-5eac-69e5ccb250cb\n* Content: [Options pattern in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-2.1)\n* Content Source: [aspnetcore/fundamentals/configuration/options.md](https://github.com/aspnet/Docs/blob/master/aspnetcore/fundamentals/configuration/options.md)\n* Product: **aspnet-core**\n* GitHub Login: @guardrex\n* Microsoft Alias: **riande**"},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/409861485","html_url":"https://github.com/aspnet/Docs/issues/7927#issuecomment-409861485","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/7927","id":409861485,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTg2MTQ4NQ==","user":{"login":"StevenLiekens","id":1583241,"node_id":"MDQ6VXNlcjE1ODMyNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1583241?v=4","gravatar_id":"","url":"https://api.github.com/users/StevenLiekens","html_url":"https://github.com/StevenLiekens","followers_url":"https://api.github.com/users/StevenLiekens/followers","following_url":"https://api.github.com/users/StevenLiekens/following{/other_user}","gists_url":"https://api.github.com/users/StevenLiekens/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenLiekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenLiekens/subscriptions","organizations_url":"https://api.github.com/users/StevenLiekens/orgs","repos_url":"https://api.github.com/users/StevenLiekens/repos","events_url":"https://api.github.com/users/StevenLiekens/events{/privacy}","received_events_url":"https://api.github.com/users/StevenLiekens/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T09:15:05Z","updated_at":"2018-08-02T09:15:05Z","author_association":"NONE","body":"+ this sounds contradictory\r\n\r\n> If a service provider is built in ConfigureServices to access options, it wouldn't contain any options configurations provided after the service provider is built. \r\n\r\n...\r\n\r\n> Since options are typically loaded from configuration, configuration can be used in startup in both Configure and ConfigureServices."}}
{"actor":{"display_login":"StevenLiekens"}}