This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Attribute routing throws ambiguous exception for base controller #2248
Closed
Description
Consider the following
[Route("base/[action]")]
public class BaseController : Controller
{
public virtual void Action()
{
}
}
[Route("derived/[action]")]
public class DerivedController : BaseController
{
public override void Action()
{
}
}
When attempting to hit base/Action
we get an ambiguous route exception.