41 references to EndpointAnnotation
Aspire.Hosting (4)
Dashboard\DashboardEventHandlers.cs (4)
417dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, uriScheme: address.Scheme, port: address.Port, isProxied: true) 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) 445dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: McpEndpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true)
Aspire.Hosting.Azure.Tests (1)
AzureStorageExtensionsTests.cs (1)
420=> new(storage.Resource, new EndpointAnnotation(ProtocolType.Tcp, name: name, targetPort: port));
Aspire.Hosting.DevTunnels (1)
DevTunnelResource.cs (1)
65TunnelEndpointAnnotation = new EndpointAnnotation(
Aspire.Hosting.Maui (1)
Otlp\OtlpLoopbackResource.cs (1)
29Annotations.Add(new EndpointAnnotation(
Aspire.Hosting.Tests (34)
ApplicationModel\McpServerEndpointAnnotationTests.cs (8)
73var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 88var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 103var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 119var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 135var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 150var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 165var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 182var endpointAnnotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "https", name: "https");
ConditionalReferenceExpressionTests.cs (5)
77var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 126var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "tcp"); 140var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "https", name: "tcp") 157var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "tcp"); 170var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "tcp");
Dcp\DcpHostNotificationTests.cs (2)
490resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "https", name: "https")); 497resource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"));
EndpointReferenceTests.cs (19)
16var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 34var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 53var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 68var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 87var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 106var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "https", name: "https"); 120var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 134var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http", targetPort: 5000); 148var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 167var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 185var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 216var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 229var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 242var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 255var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "https", name: "https"); 268var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http", targetPort: 5000); 281var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http"); 341var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "blah", name: "http"); 385var annotation = new EndpointAnnotation(ProtocolType.Tcp, uriScheme: "http", name: "http");