'ASP.NET Core Attribute Routing bug?
All of my routes in ASP.NET Core 3.1 work fine, except this empty one.
I should be able to hit this route:
/Document/HB89Letterand hit theShowpage/Document/HB89Letter/Showworks/Document/HB89Letter/does not
This is my code:
[Route("Document/HB89Letter")]
[Authorize]
public class HB89LetterController : MacController
{
[Route("")]
[Route("Show")]
public ActionResult Show(HB89LetterViewModel vm)
{
// some code
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
