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