11 references to WithSessionLifetime
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
568
/// <see cref="ResourceBuilderExtensions.
WithSessionLifetime
{T}(IResourceBuilder{T})"/> for new code.
Aspire.Hosting.Azure.Tests (2)
AzureEventHubsExtensionsTests.cs (1)
506
Lifetime.Session => builder.
WithSessionLifetime
(),
AzureServiceBusExtensionsTests.cs (1)
601
Lifetime.Session => builder.
WithSessionLifetime
(),
Aspire.Hosting.Tests (8)
ResourceBuilderLifetimeTests.cs (6)
79
.
WithSessionLifetime
()
87
source.
WithSessionLifetime
();
108
source.
WithSessionLifetime
();
119
.
WithSessionLifetime
();
124
source.
WithSessionLifetime
();
164
.
WithSessionLifetime
();
WithVolumeTests.cs (2)
181
executable.
WithSessionLifetime
();
198
.
WithSessionLifetime
()