IEndpointResolver Interface
Defines a service that resolves the absolute URI for a specific controller action based on the application's endpoint routing configuration.
public interface IEndpointResolverDerived
↳ EndpointResolver
Methods
IEndpointResolver.Resolve(string, string) Method
Resolves the absolute URI for a given controller and action name.
System.Uri? Resolve(string controllerName, string actionName);Parameters
controllerName System.String
The name of the controller (without the "Controller" suffix).
actionName System.String
The name of the action method.
Returns
System.Uri
A System.Uri representing the full route to the specified controller action,
or null if no matching route was found.