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