{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/450","labels_url":"https://api.github.com/repos/aspnet/Hosting/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Hosting/issues/450/comments","events_url":"https://api.github.com/repos/aspnet/Hosting/issues/450/events","html_url":"https://github.com/aspnet/Hosting/issues/450","id":113690113,"number":450,"title":"[Annoucement] webroot definition moved from project.json to hosting.json","user":{"login":"Tratcher","id":1821173,"avatar_url":"https://avatars.githubusercontent.com/u/1821173?v=3","gravatar_id":"","url":"https://api.github.com/users/Tratcher","html_url":"https://github.com/Tratcher","followers_url":"https://api.github.com/users/Tratcher/followers","following_url":"https://api.github.com/users/Tratcher/following{/other_user}","gists_url":"https://api.github.com/users/Tratcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Tratcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tratcher/subscriptions","organizations_url":"https://api.github.com/users/Tratcher/orgs","repos_url":"https://api.github.com/users/Tratcher/repos","events_url":"https://api.github.com/users/Tratcher/events{/privacy}","received_events_url":"https://api.github.com/users/Tratcher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Hosting/labels/Discussion","name":"Discussion","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aspnet/Hosting/milestones/16","html_url":"https://github.com/aspnet/Hosting/milestones/Discussion","labels_url":"https://api.github.com/repos/aspnet/Hosting/milestones/16/labels","id":1255802,"number":16,"title":"Discussion","description":null,"creator":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-08-14T19:48:05Z","updated_at":"2015-10-27T21:11:00Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-10-27T21:11:00Z","updated_at":"2015-10-29T16:43:15Z","closed_at":null,"body":"`\"webroot\": \"wwwroot\"` has been moved from the project.json file to the adjacent hosting.json. This is used to define where static content should be served from. The default logic has also been updated such that many apps won't need to set this value.\r\n\r\nDefaults:\r\n- If hosting.json exists and defines \"webroot\", use it.\r\n- Else if the \"wwwroot\" directory exists, use it as the webroot.\r\n- Default to the application root (normally the parent directory of wwwroot).\r\n\r\nApplications should remove \"webroot\" from their project.json files. It only need to be added to hosting.json if the value is not \"wwwroot\", or if the wwwroot directory is empty and may be excluded from source control."},"comment":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/comments/152243556","html_url":"https://github.com/aspnet/Hosting/issues/450#issuecomment-152243556","issue_url":"https://api.github.com/repos/aspnet/Hosting/issues/450","id":152243556,"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},"created_at":"2015-10-29T16:43:15Z","updated_at":"2015-10-29T16:43:15Z","body":"1) Implicit\r\n2) Pass the --config switch or go rogue and use the hosting APIs manually (but I would just stick to the convention)\r\n3) Same as 2\r\n4) More complicated, we'll use the hosting.json file, we don't have any extensibility here cuz that's just overkill/"}}