Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

Configuration.GetSection

Method
📦 Aspire.Hosting v17.0.0
type Configuration interface {
// ... omitted for brevity
GetSection(key string) ConfigurationSection
}

Signature

methodGetSection
Gets a configuration section by key.
GetSection(key string) ConfigurationSection
keystringThe configuration key.
ConfigurationSection

The configuration section handle.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: