10 references to WithReference
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
89
.
WithReference
(api.GetEndpoint("http"));
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
40
.
WithReference
(api.GetEndpoint("http"));
137
.
WithReference
(api.GetEndpoint("http"));
Aspire.Hosting.Tests (6)
ExpressionResolverTests.cs (1)
264
.
WithReference
(dependency.GetEndpoint("hostEndpoint"));
WithReferenceTests.cs (5)
25
var 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);