19 writes to IsProxied
Aspire.Hosting (2)
ApplicationModel\EndpointAnnotation.cs (1)
102
IsProxied
= isProxied;
Dcp\DcpExecutor.cs (1)
1116
endpoint.
IsProxied
= false;
Aspire.Hosting.Tests (15)
DistributedApplicationTests.cs (7)
1469
endpoint.
IsProxied
= false;
1487
endpoint.
IsProxied
= false;
1509
e.
IsProxied
= false;
1545
e.
IsProxied
= false;
1612
endpoint.
IsProxied
= false;
1618
endpoint.
IsProxied
= false;
1757
endpoint.
IsProxied
= false;
ProjectResourceTests.cs (2)
668
e.
IsProxied
= isProxied;
674
e.
IsProxied
= isProxied;
WithEndpointTests.cs (6)
42
endpoint.
IsProxied
= false;
52
endpoint.
IsProxied
= true;
56
endpoint.
IsProxied
= false;
77
endpoint.
IsProxied
= false;
87
endpoint.
IsProxied
= true;
91
endpoint.
IsProxied
= false;
ProxylessEndToEnd.AppHost (2)
Program.cs (2)
8
endpoint.
IsProxied
= false;
14
e.
IsProxied
= false;
19 references to IsProxied
Aspire.Hosting (11)
ApplicationModel\EndpointAnnotation.cs (2)
131
get => _port ?? (
IsProxied
|| _portSetToNull ? null : _targetPort);
148
get => _targetPort ?? (
IsProxied
|| _targetPortSetToNull ? null : _port);
Dcp\DcpExecutor.cs (9)
958
if (!svc.HasCompleteAddress && sp.EndpointAnnotation.
IsProxied
)
965
if (!sp.EndpointAnnotation.
IsProxied
&& svc.AllocatedPort is null)
1120
if (_options.Value.RandomizePorts && endpoint.
IsProxied
&& endpoint.Port != null)
1140
if (!endpoint.
IsProxied
)
1212
if (!endpoint.
IsProxied
)
2285
else if (!ea.
IsProxied
)
2299
Debug.Assert(ea.
IsProxied
);
2304
$"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.");
2803
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)
592
Assert.True(endpoint.
IsProxied
);