{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/405","labels_url":"https://api.github.com/repos/aspnet/Home/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/405/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/405/events","html_url":"https://github.com/aspnet/Home/issues/405","id":63898090,"number":405,"title":"How do you get current physical path inside Startup.cs?","user":{"login":"developer1998","id":8602645,"avatar_url":"https://avatars.githubusercontent.com/u/8602645?v=3","gravatar_id":"","url":"https://api.github.com/users/developer1998","html_url":"https://github.com/developer1998","followers_url":"https://api.github.com/users/developer1998/followers","following_url":"https://api.github.com/users/developer1998/following{/other_user}","gists_url":"https://api.github.com/users/developer1998/gists{/gist_id}","starred_url":"https://api.github.com/users/developer1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developer1998/subscriptions","organizations_url":"https://api.github.com/users/developer1998/orgs","repos_url":"https://api.github.com/users/developer1998/repos","events_url":"https://api.github.com/users/developer1998/events{/privacy}","received_events_url":"https://api.github.com/users/developer1998/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-24T04:01:05Z","updated_at":"2015-03-24T12:05:24Z","closed_at":"2015-03-24T12:05:24Z","body":"How do you get current physical path inside Startup.cs? \r\nI tried so many things and it does not work. On top of that I am experiencing a very very strange behavior.\r\nWhen I am debugging and type AppDomain.CurrentDomain.BaseDirectory I get the current path.\r\nHowever I cannot even compile the code as I get this error on run time if I include AppDomain.CurrentDomain.BaseDirectory directly.\r\nThe name 'AppDomain' does not exist in the current context\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/85469752","html_url":"https://github.com/aspnet/Home/issues/405#issuecomment-85469752","issue_url":"https://api.github.com/repos/aspnet/Home/issues/405","id":85469752,"user":{"login":"developer1998","id":8602645,"avatar_url":"https://avatars.githubusercontent.com/u/8602645?v=3","gravatar_id":"","url":"https://api.github.com/users/developer1998","html_url":"https://github.com/developer1998","followers_url":"https://api.github.com/users/developer1998/followers","following_url":"https://api.github.com/users/developer1998/following{/other_user}","gists_url":"https://api.github.com/users/developer1998/gists{/gist_id}","starred_url":"https://api.github.com/users/developer1998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developer1998/subscriptions","organizations_url":"https://api.github.com/users/developer1998/orgs","repos_url":"https://api.github.com/users/developer1998/repos","events_url":"https://api.github.com/users/developer1998/events{/privacy}","received_events_url":"https://api.github.com/users/developer1998/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T12:05:24Z","updated_at":"2015-03-24T12:05:24Z","body":"Thank you."}}