Skip to content
Docs Try Aspire

IConfiguration.getConnectionString

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

Signature

method getConnectionString
Gets a connection string by name
getConnectionString(name: string): string
name string
string

Defined on

This method is defined on the following type: