{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/6560","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/6560/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/6560/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/6560/events","html_url":"https://github.com/aspnet/Docs/issues/6560","id":325870973,"node_id":"MDU6SXNzdWUzMjU4NzA5NzM=","number":6560,"title":"@Url.Action(\"Index\", \"Home\", new { area = \"\" }) doesn't work","user":{"login":"dmitry-pavlov","id":1560778,"node_id":"MDQ6VXNlcjE1NjA3Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1560778?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitry-pavlov","html_url":"https://github.com/dmitry-pavlov","followers_url":"https://api.github.com/users/dmitry-pavlov/followers","following_url":"https://api.github.com/users/dmitry-pavlov/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-pavlov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-pavlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-pavlov/subscriptions","organizations_url":"https://api.github.com/users/dmitry-pavlov/orgs","repos_url":"https://api.github.com/users/dmitry-pavlov/repos","events_url":"https://api.github.com/users/dmitry-pavlov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-pavlov/received_events","type":"User","site_admin":false},"labels":[{"id":327109981,"node_id":"MDU6TGFiZWwzMjcxMDk5ODE=","url":"https://api.github.com/repos/aspnet/Docs/labels/P1","name":"P1","color":"fbca04","default":false},{"id":918734558,"node_id":"MDU6TGFiZWw5MTg3MzQ1NTg=","url":"https://api.github.com/repos/aspnet/Docs/labels/Source%20-%20Docs.ms","name":"Source - Docs.ms","color":"77f966","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aspnet/Docs/milestones/4","html_url":"https://github.com/aspnet/Docs/milestone/4","labels_url":"https://api.github.com/repos/aspnet/Docs/milestones/4/labels","id":1356168,"node_id":"MDk6TWlsZXN0b25lMTM1NjE2OA==","number":4,"title":"Backlog","description":"Issues that have been triaged but aren’t yet scheduled. Issues not assigned to any milestone are those that have not been triaged.","creator":{"login":"danroth27","id":1874516,"node_id":"MDQ6VXNlcjE4NzQ1MTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1874516?v=4","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"open_issues":429,"closed_issues":421,"state":"open","created_at":"2015-10-14T20:43:26Z","updated_at":"2018-09-01T02:45:15Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2018-05-23T20:58:41Z","updated_at":"2018-09-01T12:00:52Z","closed_at":null,"author_association":"NONE","body":"This is related to [Generating links from an action within an area based controller to another action on a different controller and not in an area.](https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/areas?view=aspnetcore-2.1)\r\n\r\nIt seems @Url.Action(\"Index\", \"Home\", new { area = \"\" }) doesn't work. \r\n\r\nWhen I am generating link from an action within an area based controller to another action on a different controller and not in an area, I am getting \"MyArea/Home/Index\" instead of expected \"Home/Index\" \r\n\r\nI have posted this issue details on StackOverflow: https://stackoverflow.com/questions/50497300/how-to-get-controller-action-url-not-in-any-area-in-razor-view-in-specific-ar\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 50249794-b4be-a6aa-d7b3-b3918eb282bf\r\n* Version Independent ID: 39d98269-a7dc-017f-55cd-bd33df097368\r\n* Content: [Areas in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/areas?view=aspnetcore-2.1)\r\n* Content Source: [aspnetcore/mvc/controllers/areas.md](https://github.com/aspnet/Docs/blob/master/aspnetcore/mvc/controllers/areas.md)\r\n* Service: **unspecified**\r\n* Product: **asp.net-core**\r\n* GitHub Login: @Rick-Anderson\r\n* Microsoft Alias: **riande**"},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/417854763","html_url":"https://github.com/aspnet/Docs/issues/6560#issuecomment-417854763","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/6560","id":417854763,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzg1NDc2Mw==","user":{"login":"dmitry-pavlov","id":1560778,"node_id":"MDQ6VXNlcjE1NjA3Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1560778?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitry-pavlov","html_url":"https://github.com/dmitry-pavlov","followers_url":"https://api.github.com/users/dmitry-pavlov/followers","following_url":"https://api.github.com/users/dmitry-pavlov/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-pavlov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-pavlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-pavlov/subscriptions","organizations_url":"https://api.github.com/users/dmitry-pavlov/orgs","repos_url":"https://api.github.com/users/dmitry-pavlov/repos","events_url":"https://api.github.com/users/dmitry-pavlov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-pavlov/received_events","type":"User","site_admin":false},"created_at":"2018-09-01T12:00:52Z","updated_at":"2018-09-01T12:00:52Z","author_association":"NONE","body":"Yep, Url.Action seems to work - at least I can't reproduce it anymore in the current version on VS2017 with .NET Core 2.1.0. \r\n\r\n@Rick-Anderson please feel free to close the issue. Thank you!"}}
{"actor":{"display_login":"dmitry-pavlov"}}