Skip to content
Docs Try Aspire

IYarpConfigurationBuilder.addCatchAllRouteFromResource

Method
📦 Aspire.Hosting.Yarp v13.2.0
interface IYarpConfigurationBuilder {
// ... omitted for brevity
addCatchAllRouteFromResource(resource: IResourceWithServiceDiscovery): YarpRoute;
}

Signature

method addCatchAllRouteFromResource
Adds a YARP catch-all route for a resource that supports service discovery.
addCatchAllRouteFromResource(resource: IResourceWithServiceDiscovery): YarpRoute
resource IResourceWithServiceDiscovery
YarpRoute

Defined on

This method is defined on the following type: