Implemented interface member:
property
Environment
Microsoft.Extensions.Hosting.IHostApplicationBuilder.Environment
12 references to Environment
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (7)
83public IHostEnvironment Environment => _innerBuilder.Environment; 224var aspireSecretsFilePath = ResolveAspireSecretsFilePath(configuredAspireSecretsFile, userSecretsId, _innerBuilder.Environment.EnvironmentName); 225var isDevelopment = _innerBuilder.Environment.IsDevelopment(); 276AppHostDirectory = options.ProjectDirectory ?? _innerBuilder.Environment.ContentRootPath; 277var appHostName = options.ProjectName ?? _innerBuilder.Environment.ApplicationName; 293var dashboardApplicationName = options.DashboardApplicationName ?? _innerBuilder.Environment.ApplicationName; 1194var environment = _innerBuilder.Environment.EnvironmentName.ToLowerInvariant();
IDistributedApplicationBuilder.cs (1)
72/// <inheritdoc cref="HostApplicationBuilder.Environment" />
Microsoft.AspNetCore (3)
WebApplicationBuilder.cs (3)
112ApplyDefaultAppConfigurationSlim(_hostApplicationBuilder.Environment, configuration, options.Args); 246webHostBuilder.UseSetting(WebHostDefaults.ApplicationKey, _hostApplicationBuilder.Environment.ApplicationName ?? ""); 254if (hostApplicationBuilder.Environment.IsDevelopment())
Microsoft.Extensions.Hosting (1)
HostApplicationBuilderSettings.cs (1)
49/// the <see cref="HostApplicationBuilder.Environment"/> through the use of <see cref="HostDefaults"/> keys. Disposing the built