Skip to content
Docs Try Aspire

IHostEnvironment.getEnvironmentName

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IHostEnvironment {
// ... omitted for brevity
getEnvironmentName(): string;
}

Signature

method getEnvironmentName
Gets the environment name
getEnvironmentName(): string
string

Defined on

This method is defined on the following type: