24 references to WithReference
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
89.WithReference(api.GetEndpoint("http"));
Aspire.Hosting.Kubernetes.Tests (3)
KubernetesPublisherTests.cs (3)
40.WithReference(api.GetEndpoint("http")); 137.WithReference(api.GetEndpoint("http")); 421.WithReference(api.GetEndpoint("http"));
Aspire.Hosting.Tests (19)
ExpressionResolverTests.cs (1)
268.WithReference(dependency.GetEndpoint("hostEndpoint"));
ResourceDependencyTests.cs (13)
390.WithReference(container.GetEndpoint("http")); // Reverse direction 474.WithReference(b.GetEndpoint("http")); 494.WithReference(b.GetEndpoint("http")); 515.WithReference(d.GetEndpoint("http")); 518.WithReference(c.GetEndpoint("http")); 520.WithReference(b.GetEndpoint("http")); 562.WithReference(b.GetEndpoint("http")) 585.WithReference(b.GetEndpoint("http")); 648.WithReference(b.GetEndpoint("http")); 671.WithReference(b.GetEndpoint("http")); 751.WithReference(b.GetEndpoint("http")); 758.WithReference(e.GetEndpoint("http")); 864.WithReference(b.GetEndpoint("http"));
WithReferenceTests.cs (5)
26var projectB = builder.AddProject<ProjectB>("b").WithReference(projectA.GetEndpoint(endpointName)); 147.WithReference(projectA.GetEndpoint("mybinding")) 148.WithReference(projectA.GetEndpoint("myconflictingbinding")); 175.WithReference(projectA.GetEndpoint("mybinding")) 176.WithReference(projectA.GetEndpoint("mynonconflictingbinding"));
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\YarpConfigurationBuilder.cs (1)
31_parent.WithReference(endpoint);