Table of Contents

Class GenericHostingEnvironment

Namespace
Steeltoe.Management.Endpoint.Env
Assembly
Steeltoe.Management.EndpointBase.dll
public class GenericHostingEnvironment : IHostingEnvironment
Inheritance
GenericHostingEnvironment
Implements
Inherited Members

Properties

ApplicationName

Gets or sets the name of the application. This property is automatically set by the host to the assembly containing the application entry point.

public string ApplicationName { get; set; }

Property Value

string

ContentRootFileProvider

Gets or sets an IFileProvider pointing at ContentRootPath.

public IFileProvider ContentRootFileProvider { get; set; }

Property Value

IFileProvider

ContentRootPath

Gets or sets the absolute path to the directory that contains the application content files.

public string ContentRootPath { get; set; }

Property Value

string

EnvironmentName

Gets or sets the name of the environment. The host automatically sets this property to the value of the of the "environment" key as specified in configuration.

public string EnvironmentName { get; set; }

Property Value

string