Skip to content
Docs Try Aspire

IConfiguration

Interface
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IConfiguration {
getConfigValue(key: string): string;
getConnectionString(name: string): string;
}

Methods

Gets a configuration value by key
getConfigValue(key: string): string
key string
string
Gets a connection string by name
getConnectionString(name: string): string
name string
string