Skip to content
DocsTry Aspire
DocsTry

withEnvironmentVariablesConfig

Method
📦 Aspire.Hosting v13.4.0
interface IExecutionConfigurationBuilder {
// ... omitted for brevity
withEnvironmentVariablesConfig(): IExecutionConfigurationBuilder;
}

Signature

methodwithEnvironmentVariablesConfig
Adds an environment variables configuration gatherer to the builder.
withEnvironmentVariablesConfig(): IExecutionConfigurationBuilder
IExecutionConfigurationBuilder

Applies to

This method applies to the following types: