Skip to content
Docs Try Aspire

addCatchAllRouteFromEndpoint

Function
📦 Aspire.Hosting.Yarp v13.2.0
interface IYarpConfigurationBuilder {
// ... omitted for brevity
addCatchAllRouteFromEndpoint(endpoint: EndpointReference): YarpRoute;
}

Signature

method addCatchAllRouteFromEndpoint
Adds a YARP catch-all route for an endpoint reference.
addCatchAllRouteFromEndpoint(endpoint: EndpointReference): YarpRoute
endpoint EndpointReference
YarpRoute

Applies to

This function is an extension method on the following types: