20 writes to IsProxied
Aspire.Hosting (2)
ApplicationModel\EndpointAnnotation.cs (1)
103
IsProxied
= isProxied;
Dcp\DcpExecutor.cs (1)
1204
endpoint.
IsProxied
= false;
Aspire.Hosting.Tests (16)
ContainerTunnelTests.cs (1)
62
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)
132
get => _port ?? (
IsProxied
|| _portSetToNull ? null : _targetPort);
149
get => _targetPort ?? (
IsProxied
|| _targetPortSetToNull ? null : _port);
Dcp\DcpExecutor.cs (8)
1027
if (!svc.HasCompleteAddress && sp.EndpointAnnotation.
IsProxied
)
1034
if (!sp.EndpointAnnotation.
IsProxied
&& svc.AllocatedPort is null)
1208
if (_options.Value.RandomizePorts && endpoint.
IsProxied
&& endpoint.Port != null)
1228
if (!endpoint.
IsProxied
)
2467
else if (!ea.
IsProxied
)
2481
Debug.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.");
2985
if (!ea.
IsProxied
&& ea.Port is int)
Aspire.Hosting.Azure.Tests (7)
AzureFunctionsTests.cs (7)
63
Assert.False(endpointAnnotation.
IsProxied
);
91
Assert.True(endpointAnnotation.
IsProxied
);
114
Assert.False(endpointAnnotation.
IsProxied
);
128
Assert.True(endpointAnnotation.
IsProxied
);
142
Assert.True(endpointAnnotation.
IsProxied
);
226
Assert.False(endpointAnnotation.
IsProxied
);
270
Assert.True(endpointAnnotation.
IsProxied
);
Aspire.Hosting.Tests (1)
WithEndpointTests.cs (1)
593
Assert.True(endpoint.
IsProxied
);