{"action":"created","comment":{"url":"https://api.github.com/repos/NancyFx/Nancy/pulls/comments/63995744","id":63995744,"diff_hunk":"@@ -0,0 +1,29 @@\n+namespace Nancy.Demo.Hosting.Kestrel\n+{\n+    public class LogLevel\n+    {\n+        public string Default { get; set; }\n+        public string System { get; set; }\n+        public string Microsoft { get; set; }\n+    }\n+\n+    public class Logging\n+    {\n+        public bool IncludeScopes { get; set; }\n+        public LogLevel LogLevel { get; set; }\n+    }\n+\n+    public class Smtp\n+    {\n+        public string Server { get; set; }\n+        public string User { get; set; }\n+        public string Pass { get; set; }\n+        public string Port { get; set; }\n+    }\n+\n+    public class AppConfiguration","path":"samples/Nancy.Demo.Hosting.Kestrel/AppConfiguration.cs","position":24,"original_position":24,"commit_id":"d03a128f013dd831011241475dc89419ac85db10","original_commit_id":"d03a128f013dd831011241475dc89419ac85db10","user":{"login":"thecodejunkie","id":50543,"avatar_url":"https://avatars.githubusercontent.com/u/50543?v=3","gravatar_id":"","url":"https://api.github.com/users/thecodejunkie","html_url":"https://github.com/thecodejunkie","followers_url":"https://api.github.com/users/thecodejunkie/followers","following_url":"https://api.github.com/users/thecodejunkie/following{/other_user}","gists_url":"https://api.github.com/users/thecodejunkie/gists{/gist_id}","starred_url":"https://api.github.com/users/thecodejunkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecodejunkie/subscriptions","organizations_url":"https://api.github.com/users/thecodejunkie/orgs","repos_url":"https://api.github.com/users/thecodejunkie/repos","events_url":"https://api.github.com/users/thecodejunkie/events{/privacy}","received_events_url":"https://api.github.com/users/thecodejunkie/received_events","type":"User","site_admin":false},"body":"I think we should put this at the top as the filename is `AppConfiguration.cs`","created_at":"2016-05-20T06:17:29Z","updated_at":"2016-05-20T06:17:29Z","html_url":"https://github.com/NancyFx/Nancy/pull/2414#discussion_r63995744","pull_request_url":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414","_links":{"self":{"href":"https://api.github.com/repos/NancyFx/Nancy/pulls/comments/63995744"},"html":{"href":"https://github.com/NancyFx/Nancy/pull/2414#discussion_r63995744"},"pull_request":{"href":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414"}}},"pull_request":{"url":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414","id":66778125,"html_url":"https://github.com/NancyFx/Nancy/pull/2414","diff_url":"https://github.com/NancyFx/Nancy/pull/2414.diff","patch_url":"https://github.com/NancyFx/Nancy/pull/2414.patch","issue_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2414","number":2414,"state":"open","locked":false,"title":"Added aspnetcore configuration usage to Nancy.Demo.Hosting.Kestrel","user":{"login":"jchannon","id":105126,"avatar_url":"https://avatars.githubusercontent.com/u/105126?v=3","gravatar_id":"","url":"https://api.github.com/users/jchannon","html_url":"https://github.com/jchannon","followers_url":"https://api.github.com/users/jchannon/followers","following_url":"https://api.github.com/users/jchannon/following{/other_user}","gists_url":"https://api.github.com/users/jchannon/gists{/gist_id}","starred_url":"https://api.github.com/users/jchannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchannon/subscriptions","organizations_url":"https://api.github.com/users/jchannon/orgs","repos_url":"https://api.github.com/users/jchannon/repos","events_url":"https://api.github.com/users/jchannon/events{/privacy}","received_events_url":"https://api.github.com/users/jchannon/received_events","type":"User","site_admin":false},"body":"### Prerequisites\r\n\r\n- [x] I have written a descriptive pull-request title\r\n- [x] I have verified that there are no overlapping [pull-requests](https://github.com/NancyFx/Nancy/pulls) open\r\n- [x] I have verified made sure that I am following the Nancy [code style guidelines](https://github.com/NancyFx/Nancy/blob/45238076ad0b7f6ecabd6bae8469e30458d02efe/CONTRIBUTING.md#style-guidelines)\r\n- [ ] I have provided test coverage for your change (where applicable)\r\n\r\n### Description\r\nI was tinkering with the new aspnetcore configuration model and was wondering how this may effect Nancy's own configuration model.  We can use the aspnetcore config model to pass an application's settings to a bootstrapper and from there deal with it by either registering an instance of a class that has the application's settings inside it or a user could register their own `INancyEnvironment` extension.\r\n\r\n","created_at":"2016-04-17T19:25:56Z","updated_at":"2016-05-20T06:17:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7bc3258371aff2b92406c509c19717a1a73b159","assignee":null,"milestone":{"url":"https://api.github.com/repos/NancyFx/Nancy/milestones/46","html_url":"https://github.com/NancyFx/Nancy/milestones/coreclr","labels_url":"https://api.github.com/repos/NancyFx/Nancy/milestones/46/labels","id":1555265,"number":46,"title":"coreclr","description":"","creator":{"login":"jchannon","id":105126,"avatar_url":"https://avatars.githubusercontent.com/u/105126?v=3","gravatar_id":"","url":"https://api.github.com/users/jchannon","html_url":"https://github.com/jchannon","followers_url":"https://api.github.com/users/jchannon/followers","following_url":"https://api.github.com/users/jchannon/following{/other_user}","gists_url":"https://api.github.com/users/jchannon/gists{/gist_id}","starred_url":"https://api.github.com/users/jchannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchannon/subscriptions","organizations_url":"https://api.github.com/users/jchannon/orgs","repos_url":"https://api.github.com/users/jchannon/repos","events_url":"https://api.github.com/users/jchannon/events{/privacy}","received_events_url":"https://api.github.com/users/jchannon/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":41,"state":"open","created_at":"2016-02-01T10:48:25Z","updated_at":"2016-05-18T11:34:24Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414/commits","review_comments_url":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414/comments","review_comment_url":"https://api.github.com/repos/NancyFx/Nancy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NancyFx/Nancy/issues/2414/comments","statuses_url":"https://api.github.com/repos/NancyFx/Nancy/statuses/d03a128f013dd831011241475dc89419ac85db10","head":{"label":"VQComms:coreclrconfigspike","ref":"coreclrconfigspike","sha":"d03a128f013dd831011241475dc89419ac85db10","user":{"login":"VQComms","id":7871710,"avatar_url":"https://avatars.githubusercontent.com/u/7871710?v=3","gravatar_id":"","url":"https://api.github.com/users/VQComms","html_url":"https://github.com/VQComms","followers_url":"https://api.github.com/users/VQComms/followers","following_url":"https://api.github.com/users/VQComms/following{/other_user}","gists_url":"https://api.github.com/users/VQComms/gists{/gist_id}","starred_url":"https://api.github.com/users/VQComms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VQComms/subscriptions","organizations_url":"https://api.github.com/users/VQComms/orgs","repos_url":"https://api.github.com/users/VQComms/repos","events_url":"https://api.github.com/users/VQComms/events{/privacy}","received_events_url":"https://api.github.com/users/VQComms/received_events","type":"Organization","site_admin":false},"repo":{"id":22256203,"name":"Nancy","full_name":"VQComms/Nancy","owner":{"login":"VQComms","id":7871710,"avatar_url":"https://avatars.githubusercontent.com/u/7871710?v=3","gravatar_id":"","url":"https://api.github.com/users/VQComms","html_url":"https://github.com/VQComms","followers_url":"https://api.github.com/users/VQComms/followers","following_url":"https://api.github.com/users/VQComms/following{/other_user}","gists_url":"https://api.github.com/users/VQComms/gists{/gist_id}","starred_url":"https://api.github.com/users/VQComms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VQComms/subscriptions","organizations_url":"https://api.github.com/users/VQComms/orgs","repos_url":"https://api.github.com/users/VQComms/repos","events_url":"https://api.github.com/users/VQComms/events{/privacy}","received_events_url":"https://api.github.com/users/VQComms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VQComms/Nancy","description":"Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono","fork":true,"url":"https://api.github.com/repos/VQComms/Nancy","forks_url":"https://api.github.com/repos/VQComms/Nancy/forks","keys_url":"https://api.github.com/repos/VQComms/Nancy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VQComms/Nancy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VQComms/Nancy/teams","hooks_url":"https://api.github.com/repos/VQComms/Nancy/hooks","issue_events_url":"https://api.github.com/repos/VQComms/Nancy/issues/events{/number}","events_url":"https://api.github.com/repos/VQComms/Nancy/events","assignees_url":"https://api.github.com/repos/VQComms/Nancy/assignees{/user}","branches_url":"https://api.github.com/repos/VQComms/Nancy/branches{/branch}","tags_url":"https://api.github.com/repos/VQComms/Nancy/tags","blobs_url":"https://api.github.com/repos/VQComms/Nancy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VQComms/Nancy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VQComms/Nancy/git/refs{/sha}","trees_url":"https://api.github.com/repos/VQComms/Nancy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VQComms/Nancy/statuses/{sha}","languages_url":"https://api.github.com/repos/VQComms/Nancy/languages","stargazers_url":"https://api.github.com/repos/VQComms/Nancy/stargazers","contributors_url":"https://api.github.com/repos/VQComms/Nancy/contributors","subscribers_url":"https://api.github.com/repos/VQComms/Nancy/subscribers","subscription_url":"https://api.github.com/repos/VQComms/Nancy/subscription","commits_url":"https://api.github.com/repos/VQComms/Nancy/commits{/sha}","git_commits_url":"https://api.github.com/repos/VQComms/Nancy/git/commits{/sha}","comments_url":"https://api.github.com/repos/VQComms/Nancy/comments{/number}","issue_comment_url":"https://api.github.com/repos/VQComms/Nancy/issues/comments{/number}","contents_url":"https://api.github.com/repos/VQComms/Nancy/contents/{+path}","compare_url":"https://api.github.com/repos/VQComms/Nancy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VQComms/Nancy/merges","archive_url":"https://api.github.com/repos/VQComms/Nancy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VQComms/Nancy/downloads","issues_url":"https://api.github.com/repos/VQComms/Nancy/issues{/number}","pulls_url":"https://api.github.com/repos/VQComms/Nancy/pulls{/number}","milestones_url":"https://api.github.com/repos/VQComms/Nancy/milestones{/number}","notifications_url":"https://api.github.com/repos/VQComms/Nancy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VQComms/Nancy/labels{/name}","releases_url":"https://api.github.com/repos/VQComms/Nancy/releases{/id}","deployments_url":"https://api.github.com/repos/VQComms/Nancy/deployments","created_at":"2014-07-25T12:34:20Z","updated_at":"2016-02-01T10:53:50Z","pushed_at":"2016-05-19T17:50:09Z","git_url":"git://github.com/VQComms/Nancy.git","ssh_url":"git@github.com:VQComms/Nancy.git","clone_url":"https://github.com/VQComms/Nancy.git","svn_url":"https://github.com/VQComms/Nancy","homepage":"http://nancyfx.org","size":44161,"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":"NancyFx:coreclr","ref":"coreclr","sha":"f03c781efc1ac61af26baf9efbc699eca1bb0fa7","user":{"login":"NancyFx","id":706659,"avatar_url":"https://avatars.githubusercontent.com/u/706659?v=3","gravatar_id":"","url":"https://api.github.com/users/NancyFx","html_url":"https://github.com/NancyFx","followers_url":"https://api.github.com/users/NancyFx/followers","following_url":"https://api.github.com/users/NancyFx/following{/other_user}","gists_url":"https://api.github.com/users/NancyFx/gists{/gist_id}","starred_url":"https://api.github.com/users/NancyFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NancyFx/subscriptions","organizations_url":"https://api.github.com/users/NancyFx/orgs","repos_url":"https://api.github.com/users/NancyFx/repos","events_url":"https://api.github.com/users/NancyFx/events{/privacy}","received_events_url":"https://api.github.com/users/NancyFx/received_events","type":"Organization","site_admin":false},"repo":{"id":738250,"name":"Nancy","full_name":"NancyFx/Nancy","owner":{"login":"NancyFx","id":706659,"avatar_url":"https://avatars.githubusercontent.com/u/706659?v=3","gravatar_id":"","url":"https://api.github.com/users/NancyFx","html_url":"https://github.com/NancyFx","followers_url":"https://api.github.com/users/NancyFx/followers","following_url":"https://api.github.com/users/NancyFx/following{/other_user}","gists_url":"https://api.github.com/users/NancyFx/gists{/gist_id}","starred_url":"https://api.github.com/users/NancyFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NancyFx/subscriptions","organizations_url":"https://api.github.com/users/NancyFx/orgs","repos_url":"https://api.github.com/users/NancyFx/repos","events_url":"https://api.github.com/users/NancyFx/events{/privacy}","received_events_url":"https://api.github.com/users/NancyFx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NancyFx/Nancy","description":"Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono","fork":false,"url":"https://api.github.com/repos/NancyFx/Nancy","forks_url":"https://api.github.com/repos/NancyFx/Nancy/forks","keys_url":"https://api.github.com/repos/NancyFx/Nancy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NancyFx/Nancy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NancyFx/Nancy/teams","hooks_url":"https://api.github.com/repos/NancyFx/Nancy/hooks","issue_events_url":"https://api.github.com/repos/NancyFx/Nancy/issues/events{/number}","events_url":"https://api.github.com/repos/NancyFx/Nancy/events","assignees_url":"https://api.github.com/repos/NancyFx/Nancy/assignees{/user}","branches_url":"https://api.github.com/repos/NancyFx/Nancy/branches{/branch}","tags_url":"https://api.github.com/repos/NancyFx/Nancy/tags","blobs_url":"https://api.github.com/repos/NancyFx/Nancy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NancyFx/Nancy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NancyFx/Nancy/git/refs{/sha}","trees_url":"https://api.github.com/repos/NancyFx/Nancy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NancyFx/Nancy/statuses/{sha}","languages_url":"https://api.github.com/repos/NancyFx/Nancy/languages","stargazers_url":"https://api.github.com/repos/NancyFx/Nancy/stargazers","contributors_url":"https://api.github.com/repos/NancyFx/Nancy/contributors","subscribers_url":"https://api.github.com/repos/NancyFx/Nancy/subscribers","subscription_url":"https://api.github.com/repos/NancyFx/Nancy/subscription","commits_url":"https://api.github.com/repos/NancyFx/Nancy/commits{/sha}","git_commits_url":"https://api.github.com/repos/NancyFx/Nancy/git/commits{/sha}","comments_url":"https://api.github.com/repos/NancyFx/Nancy/comments{/number}","issue_comment_url":"https://api.github.com/repos/NancyFx/Nancy/issues/comments{/number}","contents_url":"https://api.github.com/repos/NancyFx/Nancy/contents/{+path}","compare_url":"https://api.github.com/repos/NancyFx/Nancy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NancyFx/Nancy/merges","archive_url":"https://api.github.com/repos/NancyFx/Nancy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NancyFx/Nancy/downloads","issues_url":"https://api.github.com/repos/NancyFx/Nancy/issues{/number}","pulls_url":"https://api.github.com/repos/NancyFx/Nancy/pulls{/number}","milestones_url":"https://api.github.com/repos/NancyFx/Nancy/milestones{/number}","notifications_url":"https://api.github.com/repos/NancyFx/Nancy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NancyFx/Nancy/labels{/name}","releases_url":"https://api.github.com/repos/NancyFx/Nancy/releases{/id}","deployments_url":"https://api.github.com/repos/NancyFx/Nancy/deployments","created_at":"2010-06-24T19:35:22Z","updated_at":"2016-05-19T22:22:31Z","pushed_at":"2016-05-19T17:50:10Z","git_url":"git://github.com/NancyFx/Nancy.git","ssh_url":"git@github.com:NancyFx/Nancy.git","clone_url":"https://github.com/NancyFx/Nancy.git","svn_url":"https://github.com/NancyFx/Nancy","homepage":"http://nancyfx.org","size":64396,"stargazers_count":4069,"watchers_count":4069,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1054,"mirror_url":null,"open_issues_count":147,"forks":1054,"open_issues":147,"watchers":4069,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414"},"html":{"href":"https://github.com/NancyFx/Nancy/pull/2414"},"issue":{"href":"https://api.github.com/repos/NancyFx/Nancy/issues/2414"},"comments":{"href":"https://api.github.com/repos/NancyFx/Nancy/issues/2414/comments"},"review_comments":{"href":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414/comments"},"review_comment":{"href":"https://api.github.com/repos/NancyFx/Nancy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NancyFx/Nancy/pulls/2414/commits"},"statuses":{"href":"https://api.github.com/repos/NancyFx/Nancy/statuses/d03a128f013dd831011241475dc89419ac85db10"}}}}
{"actor":{"display_login":"thecodejunkie"}}