IYarpConfigurationBuilder
Interface net10.0
Interface to build a configuration file for YARP
namespace Aspire.Hosting;
public interface IYarpConfigurationBuilder{ // ...} 6 members
Methods6
Section titled MethodsAddCluster(EndpointReference)abstract Add a new cluster to YARP.
AddCluster(IResourceBuilder<IResourceWithServiceDiscovery>)abstract Add a new cluster to YARP based on a resource that supports service discovery.
AddCluster(IResourceBuilder<ExternalServiceResource>)abstract Add a new cluster to YARP based on an external service resource.
AddCluster(string, object[])abstract Add a new cluster to YARP based on a collection of urls.
AddCluster(string, object)virtual Add a new cluster to YARP based on a collection of urls.
AddRoute(string, YarpCluster)abstract Add a new route to YARP that will target the cluster in parameter.