{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/4014","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/4014/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/4014/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/4014/events","html_url":"https://github.com/aspnet/Mvc/issues/4014","id":129854764,"number":4014,"title":"Add overload to AddControllerAsServices that uses the default controller discovery logic","user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-29T19:08:26Z","updated_at":"2016-02-05T15:44:45Z","closed_at":null,"body":"It should use the default controller discovery logic baked into these https://github.com/aspnet/Mvc/blob/47351aac7a124148f84a484e187abbe0f24b4efc/src/Microsoft.AspNetCore.Mvc.Core/DependencyInjection/MvcCoreServiceCollectionExtensions.cs#L81-L88 services.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/180409248","html_url":"https://github.com/aspnet/Mvc/issues/4014#issuecomment-180409248","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/4014","id":180409248,"user":{"login":"rynowak","id":1430011,"avatar_url":"https://avatars.githubusercontent.com/u/1430011?v=3","gravatar_id":"","url":"https://api.github.com/users/rynowak","html_url":"https://github.com/rynowak","followers_url":"https://api.github.com/users/rynowak/followers","following_url":"https://api.github.com/users/rynowak/following{/other_user}","gists_url":"https://api.github.com/users/rynowak/gists{/gist_id}","starred_url":"https://api.github.com/users/rynowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynowak/subscriptions","organizations_url":"https://api.github.com/users/rynowak/orgs","repos_url":"https://api.github.com/users/rynowak/repos","events_url":"https://api.github.com/users/rynowak/events{/privacy}","received_events_url":"https://api.github.com/users/rynowak/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T15:44:45Z","updated_at":"2016-02-05T15:44:45Z","body":"> Isn't this a bit of chicken and egg? You need to resolve from the container in order to add to it?\r\n\r\nNah, we just assume the default type provider if you're using any of these methods. If you need to do something different these methods are only like 5 lines of code so write your own. "}}