diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcEndpointDataSource.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcEndpointDataSource.cs index 131e545e67..f91863b862 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcEndpointDataSource.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MvcEndpointDataSource.cs @@ -101,7 +101,8 @@ namespace Microsoft.AspNetCore.Mvc.Internal action.RouteValues, action.AttributeRouteInfo.Order, metadataCollection, - action.DisplayName)); + action.DisplayName, + new Address(action.AttributeRouteInfo.Name))); } }