Skip to content
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
@harshgMSFT

Description

@harshgMSFT

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions