20 writes to IsProxied
Aspire.Hosting (2)
ApplicationModel\EndpointAnnotation.cs (1)
103IsProxied = isProxied;
Dcp\DcpExecutor.cs (1)
1204endpoint.IsProxied = false;
Aspire.Hosting.Tests (16)
ContainerTunnelTests.cs (1)
62e.IsProxied = false;
DistributedApplicationTests.cs (7)
1470endpoint.IsProxied = false; 1488endpoint.IsProxied = false; 1511e.IsProxied = false; 1548e.IsProxied = false; 1616endpoint.IsProxied = false; 1622endpoint.IsProxied = false; 1762endpoint.IsProxied = false;
ProjectResourceTests.cs (2)
669e.IsProxied = isProxied; 675e.IsProxied = isProxied;
WithEndpointTests.cs (6)
43endpoint.IsProxied = false; 53endpoint.IsProxied = true; 57endpoint.IsProxied = false; 78endpoint.IsProxied = false; 88endpoint.IsProxied = true; 92endpoint.IsProxied = false;
ProxylessEndToEnd.AppHost (2)
Program.cs (2)
8endpoint.IsProxied = false; 14e.IsProxied = false;
18 references to IsProxied
Aspire.Hosting (10)
ApplicationModel\EndpointAnnotation.cs (2)
132get => _port ?? (IsProxied || _portSetToNull ? null : _targetPort); 149get => _targetPort ?? (IsProxied || _targetPortSetToNull ? null : _port);
Dcp\DcpExecutor.cs (8)
1027if (!svc.HasCompleteAddress && sp.EndpointAnnotation.IsProxied) 1034if (!sp.EndpointAnnotation.IsProxied && svc.AllocatedPort is null) 1208if (_options.Value.RandomizePorts && endpoint.IsProxied && endpoint.Port != null) 1228if (!endpoint.IsProxied) 2467else if (!ea.IsProxied) 2481Debug.Assert(ea.IsProxied); 2486$"The endpoint '{ea.Name}' for resource '{modelResourceName}' requested a proxy ({nameof(ea.IsProxied)} is true). Non-container resources cannot be proxied when both {nameof(ea.TargetPort)} and {nameof(ea.Port)} are specified with the same value."); 2985if (!ea.IsProxied && ea.Port is int)
Aspire.Hosting.Azure.Tests (7)
AzureFunctionsTests.cs (7)
63Assert.False(endpointAnnotation.IsProxied); 91Assert.True(endpointAnnotation.IsProxied); 114Assert.False(endpointAnnotation.IsProxied); 128Assert.True(endpointAnnotation.IsProxied); 142Assert.True(endpointAnnotation.IsProxied); 226Assert.False(endpointAnnotation.IsProxied); 270Assert.True(endpointAnnotation.IsProxied);
Aspire.Hosting.Tests (1)
WithEndpointTests.cs (1)
593Assert.True(endpoint.IsProxied);