is there and/or should there be .addConfigurationSection() equivalency to .addConnectionString()? #9668
-
i've yet to reach my natural level of incompetence with behavior of IConfiguration in aspire orchestrations suppose i want to permit .WithReference(configurationSection) composition, where configurationSection contains secrets or secret references, how can i accomplish this? if this functionality doesn't exist i'm betting that it's a good 'first issue' for 'some coder' since surely some of the code associated with .AddConnectionString() can be reused what i've considered
please advise |
Beta Was this translation helpful? Give feedback.
Answered by
davidfowl
Jun 7, 2025
Replies: 1 comment 3 replies
-
I'm not sure I understand the feature you are asking for. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The primitive that exist is that you can set an environment variable. You can build in top of this to set multiple of them in a format that IConfiguration can understand (others have asked for this)