Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddCatchAllRoute

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpConfigurationBuilder) AddCatchAllRoute(target any) YarpRoute

Signature

methodAddCatchAllRoute
Adds a catch-all route for a cluster, endpoint, resource, or string destination target.
AddCatchAllRoute(target any) YarpRoute
targetanyThe target cluster, endpoint, resource, or string destination for this route.
YarpRoute

The created route.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: