ContainerLifetime
Enumnet8.0
Lifetime modes for container resources.
namespace Aspire.Hosting.ApplicationModel;
public enum ContainerLifetimeEnum Members
Section titled Enum MembersSessionCreate the resource when the AppHost process starts and dispose of it when the AppHost process shuts down.
PersistentAttempt to re-use a previously created resource (based on the container name) if one exists. Do not destroy the container on AppHost process shutdown.