23 references to Exists
Aspire.Hosting (17)
ApplicationModel\EndpointReference.cs (1)
70
public bool TlsEnabled =>
Exists
&& EndpointAnnotation.TlsEnabled;
ApplicationModel\McpServerEndpointAnnotation.cs (1)
43
if (!endpoint.
Exists
)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
388
if (!mcpEndpoint.
Exists
)
Backchannel\DashboardUrlsHelper.cs (3)
70
var apiEndpoint = httpsEndpoint.
Exists
? httpsEndpoint : httpEndpoint;
71
if (apiEndpoint.
Exists
)
78
if (mcpEndpoint.
Exists
)
Dashboard\DashboardEventHandlers.cs (8)
385
var endpoint = httpsEndpoint.
Exists
? httpsEndpoint : httpEndpoint;
386
if (endpoint.
Exists
)
687
if (otlpGrpc.
Exists
)
693
if (otlpHttp.
Exists
)
699
if (!mcp.
Exists
)
703
if (!mcp.
Exists
)
709
if (mcp.
Exists
)
740
if (publicEndpoint.
Exists
)
McpServerResourceBuilderExtensions.cs (1)
83
if (!endpoint.
Exists
)
ResourceBuilderExtensions.cs (2)
1551
if (endpoint.
Exists
)
2093
if (!endpoint.
Exists
)
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
138
Assert.False(endpointRef.
Exists
);
160
Assert.False(endpointRef.
Exists
);
178
Assert.False(endpointRef.
Exists
);
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
534
if (!targetEndpoint.
Exists
)
Aspire.Hosting.Yarp (2)
ConfigurationBuilder\YarpCluster.cs (2)
79
var hasHttpsEndpoint = endpoints.Any(e => e.
Exists
&& e.IsHttps);
80
var hasHttpEndpoint = endpoints.Any(e => e.
Exists
&& e.IsHttp);