Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Add Existing Running Process In AppHost or Allow to keep running some project #1623

Closed
jp1482 opened this issue Jan 10, 2024 · 6 comments
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone

Comments

@jp1482
Copy link

jp1482 commented Jan 10, 2024

As of now, AppHost become the entry point for solution. This is good if we have to just check running project and no. of project that start are lower. There are few such cases.

  • In one scenario, if project has many components like Web Apps, Web API and mostly developer at a time working on one or two of such component. Now if they are developing something and checking in overall flow, each time running all the project and when app host stop working as to accommodate new change in one project , it will become time consuming. Someone might suggest that use Container but that is not always choice and also container also stop and start required some time.

  • I know this is kind of feature and may or may not possible but in case consider for future.

@DamianEdwards
Copy link
Member

I think this might be a dupe of #303?

@DamianEdwards DamianEdwards added area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication and removed area-dashboard labels Jan 11, 2024
@mitchdenny
Copy link
Member

I think what @jp1482 is asking for is allowing apps/containers to keep running instead of always restarting them. I don't think that this is realistically an option for GA. I think the furthest we'll get to be enabling more data persistence scenarios around volumes for containers, so you don't always need to initialize your test data for inner loop.

@mitchdenny mitchdenny added this to the Backlog milestone Jan 11, 2024
@jp1482
Copy link
Author

jp1482 commented Jan 19, 2024

I think thing that I mention will support this because if we just talk about dotnet core app then if it configured then it will sent data when AppHost is up. Also in some case I just needs to know that specific process is running. @mitchdenny clearly put what I thought about this.

@mitchdenny
Copy link
Member

We've now got some capabilities for persistent containers added to our underlying orchestrator but we won't have the bandwidth to tackle this in the short term.

The some of the wrinkles are things like if you have two container they depend on one another do we throw if you mark one as persistent and not the other.

There will be other things like when we have to restart a container because inputs have changed.

@SteveSandersonMS
Copy link
Member

Can we update this issue title so it covers keeping containers running across AppHost restarts (since @mitchdenny mentions this above), or should that be tracked as a separate issue?

@mitchdenny
Copy link
Member

@SteveSandersonMS closing this in favor of #923

@github-actions github-actions bot locked and limited conversation to collaborators Jul 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

No branches or pull requests

4 participants