22 references to Exists
Aspire.Hosting (16)
ApplicationModel\McpServerEndpointAnnotation.cs (1)
43if (!endpoint.Exists)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
388if (!mcpEndpoint.Exists)
Backchannel\DashboardUrlsHelper.cs (3)
70var apiEndpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 71if (apiEndpoint.Exists) 78if (mcpEndpoint.Exists)
Dashboard\DashboardEventHandlers.cs (8)
384var endpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 385if (endpoint.Exists) 650if (otlpGrpc.Exists) 656if (otlpHttp.Exists) 662if (!mcp.Exists) 666if (!mcp.Exists) 672if (mcp.Exists) 703if (publicEndpoint.Exists)
McpServerResourceBuilderExtensions.cs (1)
82if (!endpoint.Exists)
ResourceBuilderExtensions.cs (2)
1385if (endpoint.Exists) 1918if (!endpoint.Exists)
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
138Assert.False(endpointRef.Exists); 160Assert.False(endpointRef.Exists); 178Assert.False(endpointRef.Exists);
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
526if (!targetEndpoint.Exists)
Aspire.Hosting.Yarp (2)
ConfigurationBuilder\YarpCluster.cs (2)
77var hasHttpsEndpoint = endpoints.Any(e => e.Exists && e.IsHttps); 78var hasHttpEndpoint = endpoints.Any(e => e.Exists && e.IsHttp);