{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/2990","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/2990/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/2990/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/2990/events","html_url":"https://github.com/aspnet/dnx/issues/2990","id":111722443,"number":2990,"title":"Refactoring DNX not to inject into Program constructors","user":{"login":"pakrym","id":1697911,"avatar_url":"https://avatars.githubusercontent.com/u/1697911?v=3","gravatar_id":"","url":"https://api.github.com/users/pakrym","html_url":"https://github.com/pakrym","followers_url":"https://api.github.com/users/pakrym/followers","following_url":"https://api.github.com/users/pakrym/following{/other_user}","gists_url":"https://api.github.com/users/pakrym/gists{/gist_id}","starred_url":"https://api.github.com/users/pakrym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakrym/subscriptions","organizations_url":"https://api.github.com/users/pakrym/orgs","repos_url":"https://api.github.com/users/pakrym/repos","events_url":"https://api.github.com/users/pakrym/events{/privacy}","received_events_url":"https://api.github.com/users/pakrym/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/dnx/labels/3%20-%20Done","name":"3 - Done","color":"CCCCCC"},{"url":"https://api.github.com/repos/aspnet/dnx/labels/task","name":"task","color":"0052cc"}],"state":"closed","locked":false,"assignee":{"login":"pakrym","id":1697911,"avatar_url":"https://avatars.githubusercontent.com/u/1697911?v=3","gravatar_id":"","url":"https://api.github.com/users/pakrym","html_url":"https://github.com/pakrym","followers_url":"https://api.github.com/users/pakrym/followers","following_url":"https://api.github.com/users/pakrym/following{/other_user}","gists_url":"https://api.github.com/users/pakrym/gists{/gist_id}","starred_url":"https://api.github.com/users/pakrym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakrym/subscriptions","organizations_url":"https://api.github.com/users/pakrym/orgs","repos_url":"https://api.github.com/users/pakrym/repos","events_url":"https://api.github.com/users/pakrym/events{/privacy}","received_events_url":"https://api.github.com/users/pakrym/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aspnet/dnx/milestones/18","html_url":"https://github.com/aspnet/dnx/milestones/1.0.0-rc1","labels_url":"https://api.github.com/repos/aspnet/dnx/milestones/18/labels","id":1269885,"number":18,"title":"1.0.0-rc1","description":"","creator":{"login":"glennc","id":234688,"avatar_url":"https://avatars.githubusercontent.com/u/234688?v=3","gravatar_id":"","url":"https://api.github.com/users/glennc","html_url":"https://github.com/glennc","followers_url":"https://api.github.com/users/glennc/followers","following_url":"https://api.github.com/users/glennc/following{/other_user}","gists_url":"https://api.github.com/users/glennc/gists{/gist_id}","starred_url":"https://api.github.com/users/glennc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennc/subscriptions","organizations_url":"https://api.github.com/users/glennc/orgs","repos_url":"https://api.github.com/users/glennc/repos","events_url":"https://api.github.com/users/glennc/events{/privacy}","received_events_url":"https://api.github.com/users/glennc/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":39,"state":"open","created_at":"2015-08-24T17:13:19Z","updated_at":"2015-10-26T23:13:01Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-10-15T22:39:57Z","updated_at":"2015-10-27T08:58:55Z","closed_at":"2015-10-26T17:07:32Z","body":"Kill anything that takes IServiceProvider in Program.Main or Program()\r\nAll entry points to public static void Main\r\nAdd compilation option emit entry point to everything with Program.Main\r\n\r\n@muratg "},"comment":{"url":"https://api.github.com/repos/aspnet/dnx/issues/comments/151418777","html_url":"https://github.com/aspnet/dnx/issues/2990#issuecomment-151418777","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/2990","id":151418777,"user":{"login":"roji","id":1862641,"avatar_url":"https://avatars.githubusercontent.com/u/1862641?v=3","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T08:58:55Z","updated_at":"2015-10-27T08:58:55Z","body":"Can you guys describe how a DNX command is supposed to be written after this change? What's the right way to access, say, the IApplicationEnvironment from a program?"}}