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)
267.WithReference(dependency.GetEndpoint("hostEndpoint"));
ResourceDependencyTests.cs (13)
389.WithReference(container.GetEndpoint("http")); // Reverse direction 473.WithReference(b.GetEndpoint("http")); 493.WithReference(b.GetEndpoint("http")); 514.WithReference(d.GetEndpoint("http")); 517.WithReference(c.GetEndpoint("http")); 519.WithReference(b.GetEndpoint("http")); 561.WithReference(b.GetEndpoint("http")) 584.WithReference(b.GetEndpoint("http")); 647.WithReference(b.GetEndpoint("http")); 670.WithReference(b.GetEndpoint("http")); 750.WithReference(b.GetEndpoint("http")); 757.WithReference(e.GetEndpoint("http")); 863.WithReference(b.GetEndpoint("http"));
WithReferenceTests.cs (5)
25var projectB = builder.AddProject<ProjectB>("b").WithReference(projectA.GetEndpoint(endpointName)); 146.WithReference(projectA.GetEndpoint("mybinding")) 147.WithReference(projectA.GetEndpoint("myconflictingbinding")); 174.WithReference(projectA.GetEndpoint("mybinding")) 175.WithReference(projectA.GetEndpoint("mynonconflictingbinding"));
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\YarpConfigurationBuilder.cs (1)
31_parent.WithReference(endpoint);