10 references to Session
Aspire.Hosting (6)
ApplicationModel\ResourceExtensions.cs (3)
612
/// Defaults to <see cref="ContainerLifetime.
Session
"/> if no <see cref="ContainerLifetimeAnnotation"/> is found.
617
/// Defaults to <see cref="ContainerLifetime.
Session
"/> if the annotation is not set.
626
return 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)
67
ContainerLifetime.
Session
=> GetRandomNameSuffix(),
Dcp\ResourceSnapshotBuilder.cs (1)
85
return (container.Spec.Persistent ?? false) ? ContainerLifetime.Persistent : ContainerLifetime.
Session
;
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
236
var lifetime = ContainerLifetime.
Session
;
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
388
var lifetime = ContainerLifetime.
Session
;
Aspire.Hosting.Azure.Tests (2)
AzureEventHubsExtensionsTests.cs (1)
567
var lifetime = isPersistent ? ContainerLifetime.Persistent : ContainerLifetime.
Session
;
AzureServiceBusExtensionsTests.cs (1)
702
var lifetime = isPersistent ? ContainerLifetime.Persistent : ContainerLifetime.
Session
;