IYarpConfigurationBuilder
Interface net8.0
Interface to build a configuration file for YARP
namespace Aspire.Hosting;
public interface IYarpConfigurationBuilder{ // ...} 6 members
Methods6
Section titled MethodsAddCluster(EndpointReference)abstractats ignored Add a new cluster to YARP.
AddCluster(IResourceBuilder<IResourceWithServiceDiscovery>)abstractats ignored Add a new cluster to YARP based on a resource that supports service discovery.
AddCluster(IResourceBuilder<ExternalServiceResource>)abstractats ignored Add a new cluster to YARP based on an external service resource.
AddCluster(string, object[])abstractats ignored Add a new cluster to YARP based on a collection of urls.
AddCluster(string, object)virtualats ignored 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.