20 writes to IsProxied
Aspire.Hosting (2)
ApplicationModel\EndpointAnnotation.cs (1)
102
IsProxied
= isProxied;
Dcp\DcpExecutor.cs (1)
1199
endpoint.
IsProxied
= false;
Aspire.Hosting.Tests (16)
ContainerTunnelTests.cs (1)
61
e.
IsProxied
= false;
DistributedApplicationTests.cs (7)
1470
endpoint.
IsProxied
= false;
1488
endpoint.
IsProxied
= false;
1511
e.
IsProxied
= false;
1548
e.
IsProxied
= false;
1616
endpoint.
IsProxied
= false;
1622
endpoint.
IsProxied
= false;
1762
endpoint.
IsProxied
= false;
ProjectResourceTests.cs (2)
669
e.
IsProxied
= isProxied;
675
e.
IsProxied
= isProxied;
WithEndpointTests.cs (6)
43
endpoint.
IsProxied
= false;
53
endpoint.
IsProxied
= true;
57
endpoint.
IsProxied
= false;
78
endpoint.
IsProxied
= false;
88
endpoint.
IsProxied
= true;
92
endpoint.
IsProxied
= false;
ProxylessEndToEnd.AppHost (2)
Program.cs (2)
8
endpoint.
IsProxied
= false;
14
e.
IsProxied
= false;
18 references to IsProxied
Aspire.Hosting (10)
ApplicationModel\EndpointAnnotation.cs (2)
131
get => _port ?? (
IsProxied
|| _portSetToNull ? null : _targetPort);
148
get => _targetPort ?? (
IsProxied
|| _targetPortSetToNull ? null : _port);
Dcp\DcpExecutor.cs (8)
1022
if (!svc.HasCompleteAddress && sp.EndpointAnnotation.
IsProxied
)
1029
if (!sp.EndpointAnnotation.
IsProxied
&& svc.AllocatedPort is null)
1203
if (_options.Value.RandomizePorts && endpoint.
IsProxied
&& endpoint.Port != null)
1223
if (!endpoint.
IsProxied
)
2377
else if (!ea.
IsProxied
)
2391
Debug.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.");
2895
if (!ea.
IsProxied
&& ea.Port is int)
Aspire.Hosting.Azure.Tests (7)
AzureFunctionsTests.cs (7)
55
Assert.False(endpointAnnotation.
IsProxied
);
83
Assert.True(endpointAnnotation.
IsProxied
);
106
Assert.False(endpointAnnotation.
IsProxied
);
120
Assert.True(endpointAnnotation.
IsProxied
);
134
Assert.True(endpointAnnotation.
IsProxied
);
218
Assert.False(endpointAnnotation.
IsProxied
);
262
Assert.True(endpointAnnotation.
IsProxied
);
Aspire.Hosting.Tests (1)
WithEndpointTests.cs (1)
593
Assert.True(endpoint.
IsProxied
);