3 writes to EnableAspireContainerTunnel
Aspire.Hosting (1)
Dcp\DcpOptions.cs (1)
205
options.
EnableAspireContainerTunnel
= dcpPublisherConfiguration.GetValue(nameof(options.EnableAspireContainerTunnel), options.EnableAspireContainerTunnel);
Aspire.Hosting.Tests (2)
ExpressionResolverTests.cs (2)
182
testServiceProvider.AddService(Options.Create(new DcpOptions() {
EnableAspireContainerTunnel
= withTunnel }));
207
testServiceProvider.AddService(Options.Create(new DcpOptions() {
EnableAspireContainerTunnel
= withTunnel }));
9 references to EnableAspireContainerTunnel
Aspire.Hosting (9)
ApplicationModel\HostUrl.cs (3)
57
uri.Host = options.Value.
EnableAspireContainerTunnel
? KnownHostNames.DefaultContainerTunnelHostName : dcpInfo?.Containers?.ContainerHostName ?? KnownHostNames.DockerDesktopHostBridge;
59
if (options.Value.
EnableAspireContainerTunnel
)
110
replacementHost = options.Value.
EnableAspireContainerTunnel
? KnownHostNames.DefaultContainerTunnelHostName : dcpInfo?.Containers?.ContainerHostName ?? KnownHostNames.DockerDesktopHostBridge;
Dcp\DcpExecutor.cs (4)
134
(_options.Value.
EnableAspireContainerTunnel
? KnownHostNames.DefaultContainerTunnelHostName : _dcpInfo?.Containers?.HostName ?? KnownHostNames.DockerDesktopHostBridge);
823
if (_options.Value.
EnableAspireContainerTunnel
)
985
var port = _options.Value.
EnableAspireContainerTunnel
? (int)ts.Service!.AllocatedPort! : serverSvc.EndpointAnnotation.AllocatedEndpoint!.Port;
1105
var useTunnel = _options.Value.
EnableAspireContainerTunnel
;
Dcp\DcpOptions.cs (2)
205
options.EnableAspireContainerTunnel = dcpPublisherConfiguration.GetValue(nameof(options.
EnableAspireContainerTunnel
), options.
EnableAspireContainerTunnel
);