getConfigValue

Method
📦 Aspire.Hosting v17.0.0
interface IConfiguration {
// ... omitted for brevity
getConfigValue(key: string): string;
}

Signature

methodgetConfigValue
Gets a configuration value by key.
getConfigValue(key: string): string
keystringThe configuration key (e.g., "ConnectionStrings:Default").
string

Applies to

This method applies to the following types: