25 references to EndpointAnnotation
Aspire.Hosting (5)
Dashboard\DashboardEventHandlers.cs (3)
398dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, uriScheme: address.Scheme, port: address.Port, isProxied: true) 407dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: OtlpGrpcEndpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true, transport: "http2") 416dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: OtlpHttpEndpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true)
ResourceBuilderExtensions.cs (2)
660endpoint = new EndpointAnnotation(ProtocolType.Tcp, name: endpointName); 693var annotation = new EndpointAnnotation(
Aspire.Hosting.Azure.Tests (1)
AzureStorageExtensionsTests.cs (1)
418=> new(storage.Resource, new EndpointAnnotation(ProtocolType.Tcp, name: name, targetPort: port));
Aspire.Hosting.DevTunnels (1)
DevTunnelResource.cs (1)
63TunnelEndpointAnnotation = new EndpointAnnotation(
Aspire.Hosting.Tests (18)
EndpointReferenceTests.cs (18)
14var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 32var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 51var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 66var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 85var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 104var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "https", name: "https"); 118var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 132var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http", targetPort: 5000); 146var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 165var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 183var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 214var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 227var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 240var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 253var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 266var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "https", name: "https"); 279var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http", targetPort: 5000); 292var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http");