4 writes to EnableAspireContainerTunnel
Aspire.Hosting (1)
Dcp\DcpOptions.cs (1)
234options.EnableAspireContainerTunnel = configuration.GetValue(KnownConfigNames.EnableContainerTunnel, options.EnableAspireContainerTunnel);
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (1)
2216EnableAspireContainerTunnel = useTunnel,
ExpressionResolverTests.cs (2)
179testServiceProvider.AddService(Options.Create(new DcpOptions() { EnableAspireContainerTunnel = withTunnel })); 204testServiceProvider.AddService(Options.Create(new DcpOptions() { EnableAspireContainerTunnel = withTunnel }));
11 references to EnableAspireContainerTunnel
Aspire.Hosting (11)
ApplicationModel\HostUrl.cs (3)
57uri.Host = options.Value.EnableAspireContainerTunnel? KnownHostNames.DefaultContainerTunnelHostName : dcpInfo?.Containers?.ContainerHostName ?? KnownHostNames.DockerDesktopHostBridge; 60if (options.Value.EnableAspireContainerTunnel && model is { }) 111replacementHost = options.Value.EnableAspireContainerTunnel ? KnownHostNames.DefaultContainerTunnelHostName : dcpInfo?.Containers?.ContainerHostName ?? KnownHostNames.DockerDesktopHostBridge;
Dcp\DcpExecutor.cs (7)
141(_options.Value.EnableAspireContainerTunnel ? KnownHostNames.DefaultContainerTunnelHostName : _dcpInfo?.Containers?.HostName ?? KnownHostNames.DockerDesktopHostBridge); 916if (_options.Value.EnableAspireContainerTunnel) 1067if (appResource.DcpResource is Executable && !_options.Value.EnableAspireContainerTunnel) 1083if ((mode & AllocatedEndpointsMode.ContainerTunnel) != 0 && _options.Value.EnableAspireContainerTunnel) 1127var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.AllocatedPort! : serverSvc.EndpointAnnotation.AllocatedEndpoint!.Port; 1274var useTunnel = _options.Value.EnableAspireContainerTunnel; 2997if (!_options.Value.EnableAspireContainerTunnel)
Dcp\DcpOptions.cs (1)
234options.EnableAspireContainerTunnel = configuration.GetValue(KnownConfigNames.EnableContainerTunnel, options.EnableAspireContainerTunnel);