PersistenceMode
Enum net8.0
Persistence modes for resources that support lifetime configuration.
namespace Aspire.Hosting.ApplicationModel;
public enum PersistenceModeEnum Members
Section titled Enum MembersSessionCreate the resource when the app host process starts and dispose of it when the app host process shuts down.
PersistentAttempt to re-use a previously created resource if one exists. Do not destroy the resource on app host process shutdown.
ResourceMatch another resource's persistence behavior.
ParentProcessUse persistent behavior scoped to a parent process identity.