Set Endpoint names automatically for minimal #37089
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-routing
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
The usage of
LinkGenerator.GetPathByName
will throw exception if there are route handlers from method of the same name but from different scope.If you don't use
LinkGenerator.GetPathByName
onGreetingPage
inferred route name, it works fine.To Reproduce
Full code is here https://github.com/dodyg/practical-aspnetcore/tree/net5.0/projects/net6/link-generator-path-by-route-name-inferred-duplicated
Exceptions (if any)
Further technical details
The text was updated successfully, but these errors were encountered: