108 references to GetEndpoint
Aspire.Hosting (1)
Aspire.Hosting.Azure.Tests (21)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.DevTunnels.Tests (2)
Aspire.Hosting.Docker.Tests (2)
Aspire.Hosting.Kubernetes.Tests (4)
Aspire.Hosting.Redis.Tests (2)
Aspire.Hosting.Tests (57)
ResourceDependencyTests.cs (32)
35.WithEnvironment("API_URL", api.GetEndpoint("http"));
52.WithEnvironment("API_PORT", api.GetEndpoint("http").Property(EndpointProperty.Port));
239.WithEnvironment("C_HOST", c.GetEndpoint("redisc"));
241.WithEnvironment("B_HOST", b.GetEndpoint("httpb"));
301.WithEnvironment("B_URL", b.GetEndpoint("http"));
303.WithEnvironment("C_URL", c.GetEndpoint("http"));
304b.WithEnvironment("D_URL", d.GetEndpoint("http")); // Completes the cycle
306.WithEnvironment("B_URL", b.GetEndpoint("http"));
325.WithEnvironment("BACKEND_URL", backend.GetEndpoint("http")) // Endpoint reference
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"));
608var a = builder.AddContainer("a", "alpine").WithEnvironment("X_URL", x.GetEndpoint("http"));
609var b = builder.AddContainer("b", "alpine").WithEnvironment("Y_URL", y.GetEndpoint("http"));
628var a = builder.AddContainer("a", "alpine").WithEnvironment("X_URL", x.GetEndpoint("http"));
629var b = builder.AddContainer("b", "alpine").WithEnvironment("X_URL", x.GetEndpoint("http"));
648.WithReference(b.GetEndpoint("http"));
671.WithReference(b.GetEndpoint("http"));
751.WithReference(b.GetEndpoint("http"));
758.WithReference(e.GetEndpoint("http"));
784.WithEnvironment("A_URL", a.GetEndpoint("http"));
787.WithEnvironment("B_URL", b.GetEndpoint("http"))
788.WithEnvironment("D_URL", d.GetEndpoint("http"));
789a.WithEnvironment("C_URL", c.GetEndpoint("http"));
839.WithEnvironment("Y_URL", y.GetEndpoint("http"));
841.WithEnvironment("Z_URL", z.GetEndpoint("http"));
864.WithReference(b.GetEndpoint("http"));
Aspire.Hosting.Yarp.Tests (7)
AspireWithMaui.AppHost (1)
AspireWithNode.AppHost (1)
DevTunnels.AppHost (3)
Stress.AppHost (3)
TestShop.AppHost (2)
WebPubSub.AppHost (1)