21 references to Exists
Aspire.Hosting (15)
ApplicationModel\McpServerEndpointAnnotation.cs (1)
43if (!endpoint.Exists)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
298if (!mcpEndpoint.Exists)
Backchannel\DashboardUrlsHelper.cs (3)
70var apiEndpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 71if (apiEndpoint.Exists) 78if (mcpEndpoint.Exists)
Dashboard\DashboardEventHandlers.cs (8)
393var endpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 394if (endpoint.Exists) 659if (otlpGrpc.Exists) 665if (otlpHttp.Exists) 671if (!mcp.Exists) 675if (!mcp.Exists) 681if (mcp.Exists) 712if (publicEndpoint.Exists)
ResourceBuilderExtensions.cs (2)
1365if (endpoint.Exists) 1898if (!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);