HostingEnvironment Class

Namespace
Microsoft.AspNetCore.Hosting.Internal
Assemblies
  • Microsoft.AspNetCore.Hosting

Syntax

public class HostingEnvironment : IHostingEnvironment
class Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment

Properties

Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment.ApplicationName
Return type:System.String
public string ApplicationName { get; set; }
Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment.ContentRootFileProvider
Return type:Microsoft.Extensions.FileProviders.IFileProvider
public IFileProvider ContentRootFileProvider { get; set; }
Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment.ContentRootPath
Return type:System.String
public string ContentRootPath { get; set; }
Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment.EnvironmentName
Return type:System.String
public string EnvironmentName { get; set; }
Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment.WebRootFileProvider
Return type:Microsoft.Extensions.FileProviders.IFileProvider
public IFileProvider WebRootFileProvider { get; set; }
Microsoft.AspNetCore.Hosting.Internal.HostingEnvironment.WebRootPath
Return type:System.String
public string WebRootPath { get; set; }