9 references to KnownEndpointNames
Aspire.Hosting (6)
Dashboard\DashboardEventHandlers.cs (4)
426
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name:
KnownEndpointNames
.OtlpGrpcEndpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true, transport: "http2")
435
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name:
KnownEndpointNames
.OtlpHttpEndpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true)
686
var otlpGrpc = dashboardResource.GetEndpoint(
KnownEndpointNames
.OtlpGrpcEndpointName, KnownNetworkIdentifiers.LocalhostNetwork);
692
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)
145
var otlpGrpcEndpoint = new EndpointReference(dashboardResource,
KnownEndpointNames
.OtlpGrpcEndpointName);
Dashboard\DashboardResourceTests.cs (2)
730
if (endpoint.Name ==
KnownEndpointNames
.OtlpGrpcEndpointName)
734
else if (endpoint.Name ==
KnownEndpointNames
.OtlpHttpEndpointName)