{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/8720","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/8720/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/8720/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/8720/events","html_url":"https://github.com/aspnet/Mvc/issues/8720","id":380117733,"node_id":"MDU6SXNzdWUzODAxMTc3MzM=","number":8720,"title":"<form> tag helper not work for Area that the view file not in Areas folder","user":{"login":"yqszt","id":15865671,"node_id":"MDQ6VXNlcjE1ODY1Njcx","avatar_url":"https://avatars1.githubusercontent.com/u/15865671?v=4","gravatar_id":"","url":"https://api.github.com/users/yqszt","html_url":"https://github.com/yqszt","followers_url":"https://api.github.com/users/yqszt/followers","following_url":"https://api.github.com/users/yqszt/following{/other_user}","gists_url":"https://api.github.com/users/yqszt/gists{/gist_id}","starred_url":"https://api.github.com/users/yqszt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqszt/subscriptions","organizations_url":"https://api.github.com/users/yqszt/orgs","repos_url":"https://api.github.com/users/yqszt/repos","events_url":"https://api.github.com/users/yqszt/events{/privacy}","received_events_url":"https://api.github.com/users/yqszt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-13T08:50:39Z","updated_at":"2018-11-13T19:09:21Z","closed_at":null,"author_association":"NONE","body":"#### Is this a Bug or Feature request?:\r\nBug\r\n\r\n#### Steps to reproduce (preferably a link to a GitHub repo with a repro project):\r\n\r\n\r\n#### Description of the problem:\r\ni have a controller and view not in areas folder, but i apply a Area attribute in the controller, like this:\r\n`\r\n    [Area(\"Manage\")]\r\n    public class GroupController : Controller\r\n   `\r\nwhen i create a form using tag-helper in this view:\r\n\r\n`<form asp-controller=\"Group\" asp-area=\"Manage\" asp-action=\"Create\" method=\"post\" class=\"form-horizontal\" id=\"addForm\">` \r\n\r\n=>>\r\n\r\n`<form method=\"post\" class=\"form-horizontal\" id=\"addForm\" action=\"/Group/Create?area=Manage\">` \r\nthe area will in query string. and the url can't match route.\r\n\r\nso how can i make it work. \r\n\r\nBTW, if the controller and view in the areas folder, it will be working fine. is this a bug?\r\n\r\n#### Version of `Microsoft.AspNetCore.Mvc` or `Microsoft.AspNetCore.App` or `Microsoft.AspNetCore.All`:\r\nMicrosoft.AspNetCore.Mvc: 2.1.1\r\n\r\n<!--\r\n                                    --- NOTE ---\r\n1.  Try enabling logging (in the most verbose level) and see if the details help you in fixing\r\n    the issue you are seeing. Share the logs too if it helps in diagnosing the issue faster.\r\n    More info: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging\r\n\r\n2.  If you are seeing an exception, include the full exceptions details (message and stack trace).\r\n    More info: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/error-handling\r\n\r\n3.  If you believe you have an issue that affects the security of the platform please do\r\n    not create an issue, instead email your issue to 'secure@microsoft.com'. Your report may\r\n    be eligible for our bug bounty. More info: https://technet.microsoft.com/en-us/mt764065.aspx\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/438398110","html_url":"https://github.com/aspnet/Mvc/issues/8720#issuecomment-438398110","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/8720","id":438398110,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODM5ODExMA==","user":{"login":"mkArtakMSFT","id":34246760,"node_id":"MDQ6VXNlcjM0MjQ2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/34246760?v=4","gravatar_id":"","url":"https://api.github.com/users/mkArtakMSFT","html_url":"https://github.com/mkArtakMSFT","followers_url":"https://api.github.com/users/mkArtakMSFT/followers","following_url":"https://api.github.com/users/mkArtakMSFT/following{/other_user}","gists_url":"https://api.github.com/users/mkArtakMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/mkArtakMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkArtakMSFT/subscriptions","organizations_url":"https://api.github.com/users/mkArtakMSFT/orgs","repos_url":"https://api.github.com/users/mkArtakMSFT/repos","events_url":"https://api.github.com/users/mkArtakMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/mkArtakMSFT/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T19:09:21Z","updated_at":"2018-11-13T19:09:21Z","author_association":"CONTRIBUTOR","body":"Thanks for contacting us, @yqszt.\r\n@NTaylorMullen, can you please look into this? Thanks!"}}
{"actor":{"display_login":"mkArtakMSFT"}}