20 writes to IsProxied
Aspire.Hosting (2)
ApplicationModel\EndpointAnnotation.cs (1)
102IsProxied = isProxied;
Dcp\DcpExecutor.cs (1)
1199endpoint.IsProxied = false;
Aspire.Hosting.Tests (16)
ContainerTunnelTests.cs (1)
61e.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)
131get => _port ?? (IsProxied || _portSetToNull ? null : _targetPort); 148get => _targetPort ?? (IsProxied || _targetPortSetToNull ? null : _port);
Dcp\DcpExecutor.cs (8)
1022if (!svc.HasCompleteAddress && sp.EndpointAnnotation.IsProxied) 1029if (!sp.EndpointAnnotation.IsProxied && svc.AllocatedPort is null) 1203if (_options.Value.RandomizePorts && endpoint.IsProxied && endpoint.Port != null) 1223if (!endpoint.IsProxied) 2377else if (!ea.IsProxied) 2391Debug.Assert(ea.IsProxied); 2396$"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."); 2895if (!ea.IsProxied && ea.Port is int)
Aspire.Hosting.Azure.Tests (7)
AzureFunctionsTests.cs (7)
55Assert.False(endpointAnnotation.IsProxied); 83Assert.True(endpointAnnotation.IsProxied); 106Assert.False(endpointAnnotation.IsProxied); 120Assert.True(endpointAnnotation.IsProxied); 134Assert.True(endpointAnnotation.IsProxied); 218Assert.False(endpointAnnotation.IsProxied); 262Assert.True(endpointAnnotation.IsProxied);
Aspire.Hosting.Tests (1)
WithEndpointTests.cs (1)
593Assert.True(endpoint.IsProxied);