Create combinations of projects to run in the app host #7834
Closed
two-thirty-seven
started this conversation in
Ideas
Replies: 1 comment
-
You can follow this issue #303 |
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.
-
We have an Aspire-hosted solution with about twelve projects. Most of the time in dev we need to run half of them. The rest can be dormant.
However, sometimes we need to run some of the other projects depending on the dev work at the time.
Wheat we do now is add ALL the projects to program.cs and comment out the ones we don't need at the time.
What I would find useful is some way of grouping integrations that can be then be chosen at host startup.
We have tried to do this by adding an env var in the host launchsettings.json but it gets messy quickly when you want different combinations.
I'm thinking of maybe some sort of extension like
.AddProject().WithGroup("minimal", "full", "web only") .AddProject().WithGroup("minimal", "functions")
So when the host starts it can gather all the "groups" and present them as a list before the dashboard. Selecting an option will run the host with just the projects in that group.
Beta Was this translation helpful? Give feedback.
All reactions