This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Description
MVC version
AspNetCore MVC 2.0.0 on .net Framework 4.6.1
description
Areas/
Admin/
Controllers/
[Area("Admin")]NewsController.Index --- with Route.MapRoute("{area:exists}/{controller=Home}/{action=Index}/{id?}")
Controllers/
NewsController.Index --with AttributeRoute [Route("News")]
when I inside Admin area with <a asp-action="Index" asp-controller="News">link</> , It generate /News for me,
and if I remove the attributeRoute or specific asp-area="Admin" it will generate the right url /Admin/News
I don't know why the ambient values are ignored