1 interface inheriting from IHostEnvironment
Microsoft.AspNetCore.Hosting.Abstractions (1)
7 implementations of IHostEnvironment
Aspire.Dashboard.Tests (1)
Aspire.Hosting.Tests (1)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.OpenApi.Tests (1)
Microsoft.AspNetCore.Routing.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.Extensions.Hosting (1)
247 references to IHostEnvironment
Aspire.Dashboard (2)
Aspire.Hosting (4)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.Dapr (2)
Aspire.Hosting.Testing (3)
Aspire.Hosting.Testing.Tests (4)
Aspire.Hosting.Tests (2)
Aspire.Keycloak.Authentication (2)
AspireKeycloakExtensions.cs (2)
87.Configure<IConfiguration, IHttpClientFactory, IHostEnvironment>((options, configuration, httpClientFactory, hostEnvironment) =>
166.Configure<IConfiguration, IHttpClientFactory, IHostEnvironment>((options, configuration, httpClientFactory, hostEnvironment) =>
Aspire.Playground.Tests (4)
CatalogService (1)
CreateDefaultBuilderOfTApp (2)
InMemory.FunctionalTests (2)
IStartupInjectionAssemblyName (1)
Kestrel.SampleApp (1)
Microsoft.AspNetCore (12)
WebHost.cs (10)
123/// set the <see cref="IHostEnvironment.ContentRootPath"/> to the result of <see cref="Directory.GetCurrentDirectory()"/>,
124/// load <see cref="IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="IHostEnvironment.EnvironmentName"/>].json',
125/// load <see cref="IConfiguration"/> from User Secrets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
142/// set the <see cref="IHostEnvironment.ContentRootPath"/> to the result of <see cref="Directory.GetCurrentDirectory()"/>,
143/// load <see cref="IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="IHostEnvironment.EnvironmentName"/>].json',
144/// load <see cref="IConfiguration"/> from User Secrets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
148/// configure the <see cref="IWebHostEnvironment.WebRootFileProvider"/> to map static web assets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
292/// set the <see cref="IHostEnvironment.ContentRootPath"/> to the result of <see cref="Directory.GetCurrentDirectory()"/>,
293/// load <see cref="IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="IHostEnvironment.EnvironmentName"/>].json',
294/// load <see cref="IConfiguration"/> from User Secrets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.DataProtection.Tests (3)
Microsoft.AspNetCore.Hosting (14)
Microsoft.AspNetCore.Hosting.Tests (27)
Microsoft.AspNetCore.HttpLogging (2)
Microsoft.AspNetCore.HttpLogging.Tests (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.Test (1)
Microsoft.AspNetCore.OpenApi (6)
Microsoft.AspNetCore.OpenApi.Tests (9)
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Routing.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Core (18)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.Tests (14)
Microsoft.Extensions.AmbientMetadata.Application (5)
Microsoft.Extensions.AmbientMetadata.Application.Tests (4)
Microsoft.Extensions.Hosting (44)
Microsoft.Extensions.Hosting.Abstractions (17)
Microsoft.Extensions.Hosting.Systemd (2)
Microsoft.Extensions.Hosting.WindowsServices (4)
Microsoft.Extensions.Telemetry.Tests (2)
SimpleWebSiteWithWebApplicationBuilder (1)
StartRequestDelegateUrlApp (2)
StartRouteBuilderUrlApp (2)
StartWithIApplicationBuilderUrlApp (2)
TestProject.AppHost (1)