Skip to content
Docs Try Aspire
Docs Try

withConnectionProperty

Method
📦 Aspire.Hosting v13.3.0
interface IResourceWithConnectionString {
// ... omitted for brevity
withConnectionProperty(
name: string,
value: ReferenceExpression): IResourceWithConnectionString;
}

Signature

method withConnectionProperty builder
Adds a connection property with a string or reference expression value
withConnectionProperty(
name: string,
value: ReferenceExpression): IResourceWithConnectionString
name string
value ReferenceExpression
IResourceWithConnectionString

Applies to

This method applies to the following types: