MapRouteOptions.CorsPolicyName property

Name of the CORS policy to apply, if any.

public string CorsPolicyName { get; set; }

See Also