10 references to Persistent
Aspire.Hosting (4)
ContainerResourceBuilderExtensions.cs (2)
274/// Marking a container resource to have a <see cref="ContainerLifetime.Persistent"/> lifetime. 414/// Combining this with <see cref="ContainerLifetime.Persistent"/> will allow Aspire to re-use an existing container that was not
Dcp\ApplicationExecutor.cs (2)
657return (container.Spec.Persistent ?? false) ? ContainerLifetime.Persistent : ContainerLifetime.Session; 1452if (container.GetContainerLifetimeType() == ContainerLifetime.Persistent)
Aspire.Hosting.Azure.Tests (1)
AzureResourceOptionsTests.cs (1)
38.RunAsContainer(x => x.WithLifetime(ContainerLifetime.Persistent))
Aspire.Hosting.Redis.Tests (2)
RedisFunctionalTests.cs (2)
145c.WithLifetime(ContainerLifetime.Persistent); 185c.WithLifetime(ContainerLifetime.Persistent);
AzureContainerApps.AppHost (3)
Program.cs (3)
16.WithLifetime(ContainerLifetime.Persistent) 21.RunAsEmulator(c => c.WithLifetime(ContainerLifetime.Persistent)) 26.RunAsEmulator(c => c.WithLifetime(ContainerLifetime.Persistent))