487 references to GetEndpoint
AksDemo.AppHost (2)
Aspire.Hosting (3)
Aspire.Hosting.Azure.EntraId.Tests (24)
EntraIdProvisioningTests.cs (20)
158var endpoint = consumer.GetEndpoint("https");
959entra.WithRedirectUris(web.GetEndpoint("http"), "/signin-oidc");
1143var endpoint = web.GetEndpoint("https");
1165var endpoint = web.GetEndpoint("https");
1188var endpoint = builder.AddContainer("web", "image").GetEndpoint("https");
1208.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc", "/signout-callback-oidc");
1226.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1250.WithRedirectUris(web.GetEndpoint("web"), "/signin-oidc");
1276.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1301.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1325.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1344var pendingOrigin = web.GetEndpoint("https").BrowserOrigins.GetValueAsync(cts.Token).AsTask();
1371.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1392.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1449.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1473.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1484Endpoint = other.GetEndpoint("https"),
1503.WithRedirectUris(web.GetEndpoint("https"), "/signin-oidc");
1553Assert.Throws<ArgumentException>("callbackPaths", () => entra.WithRedirectUris(web.GetEndpoint("https")));
1554Assert.Throws<ArgumentException>("callbackPaths", () => entra.WithRedirectUris(web.GetEndpoint("https"), "signin-oidc"));
Aspire.Hosting.Azure.Kubernetes.Tests (4)
Aspire.Hosting.Azure.Tests (74)
AzureSandboxesTests.cs (9)
55api.GetEndpoint("http").Property(property), environment.Resource, out var value));
2260Assert.True(AzureSandboxContainerDeployment.TryResolveEndpointReferenceValue(api.GetEndpoint("http"), sandboxGroup.Resource, out var urlExpression));
2265Assert.True(AzureSandboxContainerDeployment.TryResolveEndpointReferenceValue(api.GetEndpoint("http").Property(EndpointProperty.TargetPort), sandboxGroup.Resource, out var targetPortExpression));
2971var endpointExpression = ReferenceExpression.Create($"{api.GetEndpoint("http")}/v1");
3101.WithEnvironment("API_URL", ReferenceExpression.Create($"{api.GetEndpoint("http")}/v1"))
3141.WithEnvironment("API_URL", api.GetEndpoint("http"))
3181first.WithEnvironment("SECOND_URL", second.GetEndpoint("http"));
3182second.WithEnvironment("FIRST_URL", first.GetEndpoint("http"));
3260$"https://{api.GetEndpoint("http").Property(EndpointProperty.HostAndPort)}/v1"))
Aspire.Hosting.Blazor.Tests (27)
GatewayConfigurationBuilderTests.cs (24)
26var gatewayEndpoint = gateway.GetEndpoint("https");
49var gatewayEndpoint = gateway.GetEndpoint("https");
71var gatewayEndpoint = gateway.GetEndpoint("https");
98var gatewayEndpoint = gateway.GetEndpoint("https");
124var gatewayEndpoint = gateway.GetEndpoint("https");
144var gatewayEndpoint = gateway.GetEndpoint("https");
170var gatewayEndpoint = gateway.GetEndpoint("https");
195var gatewayEndpoint = gateway.GetEndpoint("https");
221var gatewayEndpoint = gateway.GetEndpoint("https");
250var gatewayEndpoint = gateway.GetEndpoint("https");
271var gatewayEndpoint = gateway.GetEndpoint("https");
272var httpGatewayEndpoint = gateway.GetEndpoint("http");
298GatewayConfigurationBuilder.EmitProxyConfiguration(env, apps, gateway.GetEndpoint("https"), gateway.GetEndpoint("http"));
322GatewayConfigurationBuilder.EmitProxyConfiguration(env, apps, gateway.GetEndpoint("https"), gateway.GetEndpoint("http"));
344var gatewayEndpoint = gateway.GetEndpoint("https");
369var gatewayEndpoint = gateway.GetEndpoint("https");
401GatewayConfigurationBuilder.EmitProxyConfiguration(env, apps, gateway.GetEndpoint("https"), gateway.GetEndpoint("http"), httpOtlpEndpoint: "http://localhost:18890");
460GatewayConfigurationBuilder.EmitProxyConfiguration(env, apps, gateway.GetEndpoint("https"), gateway.GetEndpoint("http"), httpOtlpEndpoint: "http://localhost:4318");
488var gatewayEndpoint = gateway.GetEndpoint("https");
533var hostEndpoint = host.GetEndpoint("https");
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.DevTunnels.Tests (7)
Aspire.Hosting.Docker.Tests (16)
DockerComposePublisherTests.cs (15)
41consumer.WithEnvironment("ORIGIN", web.GetEndpoint("http").BrowserOrigins)
47.WithEnvironment("ORIGIN", web.GetEndpoint("http").BrowserOrigins);
49consumer.WithEnvironment("REPEATED", web.GetEndpoint("http").BrowserOrigins)
80.WithEnvironment("FIRST", first.GetEndpoint("c").BrowserOrigins)
81.WithEnvironment("SECOND", second.GetEndpoint("b-c").BrowserOrigins)
82.WithEnvironment("REPEATED", first.GetEndpoint("c").BrowserOrigins);
110var consumer = builder.AddContainer("consumer", "image").WithEnvironment("ORIGINS", web.GetEndpoint("endpoint").Property(property));
132builder.AddContainer("consumer", "image").WithEnvironment("ORIGIN", web.GetEndpoint("http").BrowserOrigins);
153.WithEnvironment("ORIGIN", web.GetEndpoint("http").PrimaryBrowserOrigin)
154.WithEnvironment("ORIGINS", web.GetEndpoint("http").BrowserOrigins);
183var origin = frontend.GetEndpoint("HTTP").BrowserOrigins;
186.WithEnvironment("ORIGINS", frontend.GetEndpoint("http").BrowserOrigins)
277.WithReference(api.GetEndpoint("http"));
1502.WithEnvironment("CACHE_TLS", cache.GetEndpoint("tls").Property(EndpointProperty.TlsEnabled))
1503.WithEnvironment("CACHE_PLAIN_TLS", cache.GetEndpoint("tcp").Property(EndpointProperty.TlsEnabled));
Aspire.Hosting.Dotnet.Tests (2)
Aspire.Hosting.Foundry.Tests (3)
Aspire.Hosting.Keycloak (1)
Aspire.Hosting.Kubernetes.Tests (84)
KubernetesGatewayTests.cs (19)
28gateway.WithRoute("/api", api.GetEndpoint("http"));
70gateway.WithRoute("api.example.com", "/", api.GetEndpoint("http"));
101gateway.WithRoute("/api", api.GetEndpoint("http"));
131gateway.WithRoute("/api", api.GetEndpoint("http"));
162gateway.WithRoute("/", api.GetEndpoint("http"));
189gateway.WithRoute("/", api.GetEndpoint("http"));
225gateway.WithRoute(hostname, "/", api.GetEndpoint("http"));
249.WithRoute("api.example.com", "/", api.GetEndpoint("http"))
284.WithRoute("api.example.com", "/", api.GetEndpoint("http"))
314gateway.WithRoute("example.com", "/api", api.GetEndpoint("http"));
315gateway.WithRoute("example.com", "/", web.GetEndpoint("http"));
317gateway.WithRoute("other.com", "/", api.GetEndpoint("http"));
405gateway.WithRoute("no-leading-slash", api.GetEndpoint("http")));
457.WithRoute("/", api.GetEndpoint("http"))
506.WithRoute("/", api.GetEndpoint("http"))
543gateway.WithRoute("/api", api.GetEndpoint("http"));
566gateway.WithRoute("api.example.com", "/", api.GetEndpoint("http"));
590gateway.WithRoute("/api", api.GetEndpoint("http"));
622gateway.WithRoute("/api", api.GetEndpoint("http"));
KubernetesIngressTests.cs (25)
28ingress.WithPath("/api", api.GetEndpoint("http"));
59ingress.WithPath("api.example.com", "/", api.GetEndpoint("http"));
103ingress.WithPath("/api", api.GetEndpoint("http"));
144ingress.WithPath("/api", api.GetEndpoint("http"));
172ingress.WithPath("/api", api.GetEndpoint("http"));
199ingress.WithPath("/api", api.GetEndpoint("http"));
223ingress.WithDefaultBackend(api.GetEndpoint("http"));
247.WithPath("api.example.com", "/", api.GetEndpoint("http"))
275.WithPath("api.example.com", "/", api.GetEndpoint("http"))
309ingress.WithPath("example.com", "/api", api.GetEndpoint("http"));
310ingress.WithPath("example.com", "/", web.GetEndpoint("http"));
338ingress.WithPath("/", api.GetEndpoint("http"));
362ingress.WithPath("/exact", api.GetEndpoint("http"), IngressPathType.Exact);
454ingress.WithPath("/", api.GetEndpoint("http"));
492ingress.WithPath("/", api.GetEndpoint("http"));
525ingress.WithPath("/", api.GetEndpoint("http"));
605publicIngress.WithPath("/", api.GetEndpoint("http"));
606internalIngress.WithPath("/admin", admin.GetEndpoint("http"));
641.WithDefaultBackend(web.GetEndpoint("http"))
675.WithPath("app.example.com", "/", web.GetEndpoint("http"))
676.WithDefaultBackend(web.GetEndpoint("http"))
702ingress.WithPath("no-leading-slash", api.GetEndpoint("http")));
743ingress.WithPath("/", api.GetEndpoint("http"));
766ingress.WithDefaultBackend(web.GetEndpoint("http"));
791ingress.WithPath("/", api.GetEndpoint("http"));
KubernetesPublisherTests.cs (38)
37builder.AddContainer("consumer", "image").WithEnvironment("ORIGINS", web.GetEndpoint("endpoint").Property(property));
58environment.AddIngress("public").WithHostname("public.example").WithHostname("alias.example").WithPath("/", web.GetEndpoint("http"));
71.WithEnvironment("PORT", web.GetEndpoint("HTTP").Property(EndpointProperty.Port));
125.WithTls("certificate").WithRoute("web.example.com", "/", web.GetEndpoint("http"));
130.WithTls("certificate").WithPath("web.example.com", "/", web.GetEndpoint("http"));
133.WithEnvironment("ORIGIN", web.GetEndpoint("http").BrowserOrigins);
159var consumer = builder.AddContainer("consumer", "image").WithEnvironment("ORIGIN", web.GetEndpoint("http").BrowserOrigins);
163.WithTls("certificate").WithRoute(hostname, "/", web.GetEndpoint("http"));
168.WithTls("certificate").WithPath(hostname, "/", web.GetEndpoint("http"));
197environment.AddIngress("first-ingress").WithPath("first.example", "/", first.GetEndpoint("c"));
198environment.AddIngress("second-ingress").WithPath("second.example", "/", second.GetEndpoint("b-c"));
200.WithEnvironment("FIRST", first.GetEndpoint("c").BrowserOrigins)
201.WithEnvironment("SECOND", second.GetEndpoint("b-c").BrowserOrigins)
202.WithEnvironment("REPEATED", first.GetEndpoint("c").BrowserOrigins);
229var endpoint = web.GetEndpoint("http");
277.WithRoute("web.example", "/", web.GetEndpoint("http"))
278.WithRoute("other.example", "/", other.GetEndpoint("http"))
279.WithRoute("web.example", "/duplicate", web.GetEndpoint("http"));
288.WithPath("web.example", "/", web.GetEndpoint("http"))
289.WithPath("other.example", "/", other.GetEndpoint("http"))
290.WithPath("web.example", "/duplicate", web.GetEndpoint("http"));
296var consumer = builder.AddContainer("consumer", "image").WithEnvironment("ORIGINS", web.GetEndpoint("http").BrowserOrigins);
313environment.AddIngress("public").WithHostname("public.example").WithPath("/", web.GetEndpoint("http"));
317.WithEnvironment("ORIGIN", web.GetEndpoint("http").PrimaryBrowserOrigin)
318.WithEnvironment("ORIGINS", web.GetEndpoint("http").BrowserOrigins);
343var ingress = environment.AddIngress("public").WithPath("/", web.GetEndpoint("http"));
353.WithEnvironment("ORIGIN", web.GetEndpoint("http").PrimaryBrowserOrigin)
354.WithEnvironment("ORIGINS", web.GetEndpoint("http").BrowserOrigins);
376var origin = frontend.GetEndpoint("http").BrowserOrigins;
379.WithEnvironment("ORIGINS", frontend.GetEndpoint("http").BrowserOrigins)
468.WithReference(api.GetEndpoint("http"));
568.WithReference(api.GetEndpoint("http"));
1439.WithReference(api.GetEndpoint("http"));
1548.WithEnvironment("QDB_CLIENT_CONF", questdb.GetEndpoint("http"));
1601ingress.WithPath("/api", api.GetEndpoint("http"));
1602gateway.WithRoute("/api", api.GetEndpoint("http"));
2109.WithEnvironment("CACHE_TLS", cache.GetEndpoint("tls").Property(EndpointProperty.TlsEnabled))
2110.WithEnvironment("CACHE_PLAIN_TLS", cache.GetEndpoint("tcp").Property(EndpointProperty.TlsEnabled));
Aspire.Hosting.Radius.Tests (36)
Publishing\BackingResourceValueResolutionTests.cs (11)
125.WithEnvironment("MISSING", backend.GetEndpoint("does-not-exist").Property(EndpointProperty.Host))
126.WithEnvironment("PRESENT", backend.GetEndpoint("http").Property(EndpointProperty.Host));
415.WithEnvironment("MGMT_URL", rabbit.GetEndpoint("management").Property(EndpointProperty.Url));
434.WithEnvironment("AMQP_HOST", rabbit.GetEndpoint("tcp").Property(EndpointProperty.Host));
967.WithEnvironment("CACHE_URL", cache.GetEndpoint("tcp").Property(EndpointProperty.Url));
986.WithEnvironment("CACHE_HOST", cache.GetEndpoint("tcp").Property(EndpointProperty.Host))
987.WithEnvironment("CACHE_PORT", cache.GetEndpoint("tcp").Property(EndpointProperty.Port));
1190var port = cache.GetEndpoint("tcp").Property(EndpointProperty.Port);
1217ReferenceExpression.Create($"primary-{cache.GetEndpoint("tcp").Property(EndpointProperty.Host)}"),
1254.WithEnvironment("BACKEND_URL", backend.GetEndpoint("custom"));
1476.WithEnvironment("STORE_HOST", store.GetEndpoint("tcp").Property(EndpointProperty.Host));
Aspire.Hosting.Redis.Tests (2)
Aspire.Hosting.Tests (161)
Dcp\DcpExecutorTests.cs (29)
768var endpoint = project.GetEndpoint("http");
811c.Args.Add(executable.GetEndpoint("http").Property(EndpointProperty.Port));
1524var computeEndpoint = compute.GetEndpoint("tcp").EndpointAnnotation;
1566var endpoint = emulator.GetEndpoint("http").EndpointAnnotation;
5016Assert.Equal(allocatedPort.ToString(CultureInfo.InvariantCulture), await database.GetEndpoint("NoPortTargetPortSet").Property(EndpointProperty.Port).GetValueAsync());
5032database.WithEnvironment("PUBLIC_PORT", database.GetEndpoint("NoPortTargetPortSet").Property(EndpointProperty.Port));
5033database.WithEnvironment("PUBLIC_PORT_AGAIN", database.GetEndpoint("NoPortTargetPortSet").Property(EndpointProperty.Port));
5080database.WithEnvironment("PUBLIC_HOST_AND_PORT", database.GetEndpoint("NoPortTargetPortSet").Property(EndpointProperty.HostAndPort));
5119var url = await database.GetEndpoint("NoPortTargetPortSet").GetValueAsync(new ValueProviderContext
5165var url = await database.GetEndpoint("NoPortTargetPortSet").GetValueAsync(context.CancellationToken).ConfigureAwait(false);
5215Assert.Equal($"https://frontend.example,{frontend.GetEndpoint("http").Url}", await frontend.GetEndpoint("http").BrowserOrigins.GetValueAsync(ct));
5216Assert.Equal($"https://backend.example,{backend.GetEndpoint("http").Url}", await backend.GetEndpoint("http").BrowserOrigins.GetValueAsync(ct));
10293.WithEnvironment("EXE_PROXIED_PORT", executable.GetEndpoint("proxied").Property(EndpointProperty.Port))
10294.WithEnvironment("EXE_NOTPROXIED_PORT", executable.GetEndpoint("notProxied").Property(EndpointProperty.Port));
10300.WithEnvironment("EXE_PROXIED_PORT", executable.GetEndpoint("proxied").Property(EndpointProperty.Port))
10301.WithEnvironment("EXE_NOTPROXIED_PORT", executable.GetEndpoint("notProxied").Property(EndpointProperty.Port));
10484c.EnvironmentVariables["EXEC_PORT"] = executable.GetEndpoint("http").Property(EndpointProperty.Port);
10519c.EnvironmentVariables["EXEC_PORT"] = executable.GetEndpoint("http").Property(EndpointProperty.Port);
10560c.Args.Add(executable.GetEndpoint("http").Property(EndpointProperty.Port));
10796c.Args.Add(executable.GetEndpoint("http").Property(EndpointProperty.Port));
10833.WithEnvironment("EXEC_PORT", executable.GetEndpoint("http").Property(EndpointProperty.Port));
10864.WithEnvironment("EXECUTABLE_PORT", executable.GetEndpoint("http").Property(EndpointProperty.Port));
10898.WithEnvironment("HOST_PORT", executable.GetEndpoint("unused").Property(EndpointProperty.Port));
11318.WithEnvironment("TARGET_PORT", target.GetEndpoint("http").Property(EndpointProperty.Port));
11374.WithEnvironment("EXEC_A_PORT", executableA.GetEndpoint("http").Property(EndpointProperty.Port));
11380.WithEnvironment("EXEC_B_PORT", executableB.GetEndpoint("http").Property(EndpointProperty.Port))
11437.WithEnvironment("UPSTREAM_PORT", upstreamExecutable.GetEndpoint("http").Property(EndpointProperty.Port))
ManifestExpressionTests.cs (17)
62consumer.WithEnvironment("SECOND", second.GetEndpoint("b-c").BrowserOrigins);
63consumer.WithEnvironment("FIRST", first.GetEndpoint("c").BrowserOrigins);
67consumer.WithEnvironment("FIRST", first.GetEndpoint("c").BrowserOrigins);
68consumer.WithEnvironment("SECOND", second.GetEndpoint("b-c").BrowserOrigins);
89var origin = frontend.GetEndpoint("http").BrowserOrigins;
164var endpoint = frontend.GetEndpoint("http");
306backend.WithEnvironment("TLS", backend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled));
405var endpoint = frontend.GetEndpoint("http");
410ReferenceExpression.Create($"{frontend.GetEndpoint("HTTP").Property(property)}"),
437var origin = frontend.GetEndpoint("http").BrowserOrigins;
456.WithEnvironment("ORIGIN", frontend.GetEndpoint("http").BrowserOrigins);
472var origin = ReferenceExpression.Create($"{frontend.GetEndpoint("http").Property(EndpointProperty.BrowserOrigins)}");
475frontend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled),
486Assert.False(frontend.GetEndpoint("http").EndpointAnnotation.BrowserUrlsSnapshot.IsValueSet);
500frontend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled), bool.TrueString,
545var conditional = ReferenceExpression.CreateConditional(frontend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled),
607ReferenceExpression.Create($"https://login.example/?redirect_uri={web.GetEndpoint("https"):uri}"));
Orchestrator\ApplicationOrchestratorTests.cs (38)
37await requested.GetEndpoint("http").BrowserOrigins.GetValueAsync(context.CancellationToken);
41var endpoint = resource.GetEndpoint("http").EndpointAnnotation;
54await first.GetEndpoint("http").BrowserOrigins.GetValueAsync(cts.Token));
59Assert.Equal("http://localhost:8080", await second.GetEndpoint("http").BrowserOrigins.GetValueAsync(cts.Token));
72observed = await first.GetEndpoint("http").BrowserOrigins.GetValueAsync(context.CancellationToken);
76var endpoint = resource.GetEndpoint("http").EndpointAnnotation;
88Assert.Equal("http://localhost:8080", await second.GetEndpoint("http").BrowserOrigins.GetValueAsync());
105var read = second.GetEndpoint("http").BrowserOrigins.GetValueAsync(context.CancellationToken).AsTask();
112var endpoint = resource.GetEndpoint("http").EndpointAnnotation;
142var endpoint = item.GetEndpoint("http").EndpointAnnotation;
152var pending = other.GetEndpoint("http").BrowserOrigins.GetValueAsync(cts.Token).AsTask();
172var endpoint = frontend.GetEndpoint("http");
208var endpoint = frontend.GetEndpoint("http");
240var browserEndpoint = frontend.GetEndpoint("http").BrowserOrigins;
247var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
297var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
303var browserEndpoint = frontend.GetEndpoint("http").BrowserOrigins;
307.WithEnvironment("SERVICE_ENDPOINT", frontend.GetEndpoint("http"));
323Assert.Equal("http://localhost:8080", frontend.GetEndpoint("http").Url);
351.WithUrlForEndpoint(frontend.GetEndpoint("http"), url => url.Url = "https://manager.example/admin");
352var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
362Assert.Equal("https://admin.example,https://frontend.example,http://localhost:8080", await frontend.GetEndpoint("http").BrowserOrigins.GetValueAsync());
379var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
386var pendingOrigin = frontend.GetEndpoint("http").BrowserOrigins.GetValueAsync();
417var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
425var origins = frontend.GetEndpoint("http").BrowserOrigins;
427Assert.Equal("http://localhost:8080", frontend.GetEndpoint("http").Url);
435var browserEndpoint = frontend.GetEndpoint("http").BrowserOrigins;
437var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
449Assert.Equal("http://localhost:8080", frontend.GetEndpoint("http").Url);
462var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
464var httpsEndpoint = frontend.GetEndpoint("https").EndpointAnnotation;
473Assert.Equal("http://localhost:8080", await frontend.GetEndpoint("http").BrowserOrigins.GetValueAsync().DefaultTimeout());
474Assert.Equal("https://frontend.example,https://localhost:8443", await frontend.GetEndpoint("https").BrowserOrigins.GetValueAsync().DefaultTimeout());
485var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
494Assert.Equal("http://localhost:8080", await frontend.GetEndpoint("http").BrowserOrigins.GetValueAsync());
512var endpoint = frontend.GetEndpoint("http").EndpointAnnotation;
514var browserEndpoint = frontend.GetEndpoint("http").BrowserOrigins;
ResourceDependencyTests.cs (34)
38.WithEnvironment("API_URL", api.GetEndpoint("http"));
55.WithEnvironment("API_PORT", api.GetEndpoint("http").Property(EndpointProperty.Port));
382.WithEnvironment("C_HOST", c.GetEndpoint("redisc"));
384.WithEnvironment("B_HOST", b.GetEndpoint("httpb"));
444.WithEnvironment("B_URL", b.GetEndpoint("http"));
446.WithEnvironment("C_URL", c.GetEndpoint("http"));
447b.WithEnvironment("D_URL", d.GetEndpoint("http")); // Completes the cycle
449.WithEnvironment("B_URL", b.GetEndpoint("http"));
468.WithEnvironment("BACKEND_URL", backend.GetEndpoint("http")) // Endpoint reference
533.WithReference(container.GetEndpoint("http")); // Reverse direction
617.WithReference(b.GetEndpoint("http"));
637.WithReference(b.GetEndpoint("http"));
658.WithReference(d.GetEndpoint("http"));
661.WithReference(c.GetEndpoint("http"));
663.WithReference(b.GetEndpoint("http"));
705.WithReference(b.GetEndpoint("http"))
728.WithReference(b.GetEndpoint("http"));
751var a = builder.AddContainer("a", "alpine").WithEnvironment("X_URL", x.GetEndpoint("http"));
752var b = builder.AddContainer("b", "alpine").WithEnvironment("Y_URL", y.GetEndpoint("http"));
771var a = builder.AddContainer("a", "alpine").WithEnvironment("X_URL", x.GetEndpoint("http"));
772var b = builder.AddContainer("b", "alpine").WithEnvironment("X_URL", x.GetEndpoint("http"));
791.WithReference(b.GetEndpoint("http"));
814.WithReference(b.GetEndpoint("http"));
894.WithReference(b.GetEndpoint("http"));
901.WithReference(e.GetEndpoint("http"));
930.WithEnvironment("A_URL", a.GetEndpoint("http"));
933.WithEnvironment("B_URL", b.GetEndpoint("http"))
934.WithEnvironment("D_URL", d.GetEndpoint("http"));
935a.WithEnvironment("C_URL", c.GetEndpoint("http"));
985.WithEnvironment("Y_URL", y.GetEndpoint("http"));
987.WithEnvironment("Z_URL", z.GetEndpoint("http"));
1010.WithReference(b.GetEndpoint("http"));
1065ReferenceExpression.Create($"{primary.GetEndpoint("http")}"),
1066ReferenceExpression.Create($"{secondary.GetEndpoint("http")}"));
Aspire.Hosting.Yarp.Tests (9)
AspireWithMaui.AppHost (1)
AspireWithNode.AppHost (1)
BlazorStandalone.AppHost (1)
CertManagerDemo.AppHost (2)
DevTunnels.AppHost (3)
EntraId.AppHost (3)
Stress.AppHost (17)
CommandResources.cs (13)
918endpointSelector: () => serviceBuilder.GetEndpoint("http"),
929endpointSelector: () => serviceBuilder.GetEndpoint("http"),
940endpointSelector: () => serviceBuilder.GetEndpoint("http"),
951endpointSelector: () => serviceBuilder.GetEndpoint("http"),
962endpointSelector: () => serviceBuilder.GetEndpoint("http"),
973endpointSelector: () => serviceBuilder.GetEndpoint("http"),
984endpointSelector: () => serviceBuilder.GetEndpoint("http"),
1002endpointSelector: () => serviceBuilder.GetEndpoint("http"),
1007endpointSelector: () => serviceBuilder.GetEndpoint("http"),
1012endpointSelector: () => serviceBuilder.GetEndpoint("http"),
1017endpointSelector: () => serviceBuilder.GetEndpoint("http"),
1022endpointSelector: () => serviceBuilder.GetEndpoint("http"),
1027endpointSelector: () => serviceBuilder.GetEndpoint("http"),
TestShop.AppHost (2)
WebPubSub.AppHost (1)