IHostingEnvironment
ApplicationName
ContentRootFileProvider
ContentRootPath
EnvironmentName
WebRootFileProvider
WebRootPath
Initialize(IHostingEnvironment, String, WebHostOptions)
Initialize(IHostingEnvironment, String, String, WebHostOptions)
IsDevelopment(IHostingEnvironment)
IsEnvironment(IHostingEnvironment, String)
IsProduction(IHostingEnvironment)
IsStaging(IHostingEnvironment)
netcoreapp2.0
namespace Microsoft.AspNetCore.Hosting.Internal
{
public static class HostingEnvironmentExtensions
{
public static void Initialize(this IHostingEnvironment hostingEnvironment, string applicationName, string contentRootPath, WebHostOptions options);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET Core | 2.0 |
Information specific to netcoreapp2.0 | |
Assembly | Microsoft.AspNetCore.Hosting , Version=2.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API