Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ExecutionConfigurationBuilder.WithEnvironmentVariablesConfig

Method
📦 Aspire.Hosting v17.0.0
type ExecutionConfigurationBuilder interface {
// ... omitted for brevity
WithEnvironmentVariablesConfig() ExecutionConfigurationBuilder
}

Signature

methodWithEnvironmentVariablesConfig
Adds an environment variables configuration gatherer to the builder.
WithEnvironmentVariablesConfig() ExecutionConfigurationBuilder
ExecutionConfigurationBuilder

The builder with the configuration gatherer added.

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

Defined on

This method is defined on the following type: