9 references to KnownEndpointNames
Aspire.Hosting (6)
Dashboard\DashboardEventHandlers.cs (4)
425
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name:
KnownEndpointNames
.OtlpGrpcEndpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true, transport: "http2")
434
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name:
KnownEndpointNames
.OtlpHttpEndpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true)
649
var otlpGrpc = dashboardResource.GetEndpoint(
KnownEndpointNames
.OtlpGrpcEndpointName, KnownNetworkIdentifiers.LocalhostNetwork);
655
var otlpHttp = dashboardResource.GetEndpoint(
KnownEndpointNames
.OtlpHttpEndpointName, KnownNetworkIdentifiers.LocalhostNetwork);
Dcp\OtlpEndpointReferenceGatherer.cs (2)
56
var grpcEndpoint = dashboardEndpoints.FirstOrDefault(e => e.Name ==
KnownEndpointNames
.OtlpGrpcEndpointName);
57
var httpEndpoint = dashboardEndpoints.FirstOrDefault(e => e.Name ==
KnownEndpointNames
.OtlpHttpEndpointName);
Aspire.Hosting.Tests (3)
Dashboard\DashboardLifecycleHookTests.cs (1)
142
var otlpGrpcEndpoint = new EndpointReference(dashboardResource,
KnownEndpointNames
.OtlpGrpcEndpointName);
Dashboard\DashboardResourceTests.cs (2)
695
if (endpoint.Name ==
KnownEndpointNames
.OtlpGrpcEndpointName)
699
else if (endpoint.Name ==
KnownEndpointNames
.OtlpHttpEndpointName)