10 references to Session
Aspire.Hosting (6)
ApplicationModel\ResourceExtensions.cs (3)
542/// Defaults to <see cref="ContainerLifetime.Session"/> if no <see cref="ContainerLifetimeAnnotation"/> is found. 547/// Defaults to <see cref="ContainerLifetime.Session"/> if the annotation is not set. 556return ContainerLifetime.Session;
ContainerResourceBuilderExtensions.cs (1)
385/// <param name="lifetime">The lifetime behavior of the container resource. The defaults behavior is <see cref="ContainerLifetime.Session"/>.</param>
Dcp\DcpNameGenerator.cs (1)
67ContainerLifetime.Session => GetRandomNameSuffix(),
Dcp\ResourceSnapshotBuilder.cs (1)
85return (container.Spec.Persistent ?? false) ? ContainerLifetime.Persistent : ContainerLifetime.Session;
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
230var lifetime = ContainerLifetime.Session;
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
382var lifetime = ContainerLifetime.Session;
Aspire.Hosting.Azure.Tests (2)
AzureEventHubsExtensionsTests.cs (1)
538var lifetime = isPersistent ? ContainerLifetime.Persistent : ContainerLifetime.Session;
AzureServiceBusExtensionsTests.cs (1)
719var lifetime = isPersistent ? ContainerLifetime.Persistent : ContainerLifetime.Session;