https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.routing.routecollection.getvirtualpath?view=aspnetcore-6.0
RouteCollection.GetVirtualPath(VirtualPathContext) Method (Microsoft.AspNetCore.Routing) |...
Returns the URL that is associated with the route details provided in context
methodmicrosoftaspnetcorerouting