Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

getSection

Method
📦 Aspire.Hosting v13.6.0
interface IConfiguration {
// ... omitted for brevity
getSection(key: string): IConfigurationSection;
}

Signature

methodgetSection
Gets a configuration section by key.
getSection(key: string): IConfigurationSection
keystring
IConfigurationSection

Applies to

This method applies to the following types: