{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dnx/issues/3214","labels_url":"https://api.github.com/repos/aspnet/dnx/issues/3214/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/3214/comments","events_url":"https://api.github.com/repos/aspnet/dnx/issues/3214/events","html_url":"https://github.com/aspnet/dnx/issues/3214","id":119362631,"number":3214,"title":"What is ASPNET_ENV default value?","user":{"login":"jincod","id":1294432,"avatar_url":"https://avatars.githubusercontent.com/u/1294432?v=3","gravatar_id":"","url":"https://api.github.com/users/jincod","html_url":"https://github.com/jincod","followers_url":"https://api.github.com/users/jincod/followers","following_url":"https://api.github.com/users/jincod/following{/other_user}","gists_url":"https://api.github.com/users/jincod/gists{/gist_id}","starred_url":"https://api.github.com/users/jincod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jincod/subscriptions","organizations_url":"https://api.github.com/users/jincod/orgs","repos_url":"https://api.github.com/users/jincod/repos","events_url":"https://api.github.com/users/jincod/events{/privacy}","received_events_url":"https://api.github.com/users/jincod/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-29T14:30:13Z","updated_at":"2015-11-29T23:31:38Z","closed_at":"2015-11-29T14:37:29Z","body":"```\r\n\"commands\": {\r\n  \"web\": \"Microsoft.AspNet.Server.Kestrel\"\r\n},\r\n...\r\ndnx web\r\n```\r\n\r\n`Environment: Production`\r\n\r\nProduction value is default?"},"comment":{"url":"https://api.github.com/repos/aspnet/dnx/issues/comments/160481165","html_url":"https://github.com/aspnet/dnx/issues/3214#issuecomment-160481165","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/3214","id":160481165,"user":{"login":"GuardRex","id":1622880,"avatar_url":"https://avatars.githubusercontent.com/u/1622880?v=3","gravatar_id":"","url":"https://api.github.com/users/GuardRex","html_url":"https://github.com/GuardRex","followers_url":"https://api.github.com/users/GuardRex/followers","following_url":"https://api.github.com/users/GuardRex/following{/other_user}","gists_url":"https://api.github.com/users/GuardRex/gists{/gist_id}","starred_url":"https://api.github.com/users/GuardRex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuardRex/subscriptions","organizations_url":"https://api.github.com/users/GuardRex/orgs","repos_url":"https://api.github.com/users/GuardRex/repos","events_url":"https://api.github.com/users/GuardRex/events{/privacy}","received_events_url":"https://api.github.com/users/GuardRex/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T23:31:38Z","updated_at":"2015-11-29T23:31:38Z","body":"I think I'll stick with a direct machine name check in the `Startup` ctor and save my \"environment\" in configuration/options. It's not for BCL stuff ... just my own app settings. With the official environment default to Production, I'm fine with that.\r\n\r\nI still think there is a slight loss here that the environment is set so early and out of reach of the dev, but I hear you on the startup loader ... makes perfect sense.\r\n\r\nGiven this situation, it would have still have been nice to at least be able to dictate the setting of the env var that would be used for the :sparkles: convenience magic of `.IsDevelopment()` and `.IsProduction()`. It's cool ... I might create my own extension `.IsAppDevelopmentMode`."}}