When using DistributedApplicationTestingBuilder, how to force configuration on the app host? #6742
Replies: 1 comment
-
Got it working with: var builder = await DistributedApplicationTestingBuilder.CreateAsync<Projects.Connector_Aspire_AppHost>(
args: [
"--myconfig=myvalue",
]); By the way, this ends up setting up several instances of
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On my app host, depending on the configuration, I launch different resources or have different configurations for the resources.
How can I change the configuration of the app host when invoking
DistributedApplicationTestingBuilder.CreateAsync
, other than setting environment variables?Beta Was this translation helpful? Give feedback.
All reactions