Avoid duplicates in automatically generated endpoint names #36487
Labels
area-minimal
Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc
feature-minimal-actions
Controller-like actions for endpoint routing
old-area-web-frameworks-do-not-use
*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Milestone
Currently, we automatically generate an endpoint name for an endpoint based on the name of the method.
Will produce an
EndpointName
with aFoo
method. In #36353, we added more aggressive throwing of exceptions for duplicate endpoint names.This, in combination with the feature above, means it is more likely for features to run into the confusing error message if the duplicate endpoint name is defined in a 3rd-party library that the user cannot control.
We can resolve this by:
The text was updated successfully, but these errors were encountered: