23 references to Exists
Aspire.Hosting (17)
ApplicationModel\EndpointReference.cs (1)
70public bool TlsEnabled => Exists && EndpointAnnotation.TlsEnabled;
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)
385var endpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 386if (endpoint.Exists) 687if (otlpGrpc.Exists) 693if (otlpHttp.Exists) 699if (!mcp.Exists) 703if (!mcp.Exists) 709if (mcp.Exists) 740if (publicEndpoint.Exists)
McpServerResourceBuilderExtensions.cs (1)
83if (!endpoint.Exists)
ResourceBuilderExtensions.cs (2)
1551if (endpoint.Exists) 2093if (!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)
534if (!targetEndpoint.Exists)
Aspire.Hosting.Yarp (2)
ConfigurationBuilder\YarpCluster.cs (2)
79var hasHttpsEndpoint = endpoints.Any(e => e.Exists && e.IsHttps); 80var hasHttpEndpoint = endpoints.Any(e => e.Exists && e.IsHttp);