182 references to DistributedApplicationOperation
Aspire.Hosting (14)
ApplicationModel\ResourceExtensions.cs (6)
114/// This method has asynchronous behavior when <paramref name = "applicationOperation" /> is <see cref="DistributedApplicationOperation.Run"/> 121/// Using <see cref="GetEnvironmentVariableValuesAsync(IResourceWithEnvironment, DistributedApplicationOperation)"/> inside 145DistributedApplicationOperation applicationOperation = DistributedApplicationOperation.Run) 165(DistributedApplicationOperation.Run, IValueProvider provider) => await provider.GetValueAsync().ConfigureAwait(false), 166(DistributedApplicationOperation.Publish, IManifestExpressionProvider provider) => provider.ValueExpression,
DistributedApplicationBuilder.cs (2)
166"manifest" => new DistributedApplicationExecutionContextOptions(DistributedApplicationOperation.Publish), 167_ => new DistributedApplicationExecutionContextOptions(DistributedApplicationOperation.Run)
DistributedApplicationExecutionContext.cs (4)
18public DistributedApplicationExecutionContext(DistributedApplicationOperation operation) 37public DistributedApplicationOperation Operation { get; } 64public bool IsPublishMode => Operation == DistributedApplicationOperation.Publish; 69public bool IsRunMode => Operation == DistributedApplicationOperation.Run;
DistributedApplicationExecutionContextOptions.cs (2)
9public class DistributedApplicationExecutionContextOptions(DistributedApplicationOperation operation) 19public DistributedApplicationOperation Operation { get; } = operation;
Aspire.Hosting.Azure.Tests (34)
AzureBicepResourceTests.cs (8)
337using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 497using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 728var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(serviceA.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 965using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1193using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1392using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2193using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2351using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzureContainerAppsTests.cs (20)
23var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 114var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 222var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 354var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 469var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 758var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 854using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 970var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1104var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1281var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1369var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1467var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1571var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1670var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1807var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1826var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1847var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1866var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1886var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1905var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzureFunctionsTests.cs (1)
155using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzurePostgresExtensionsTests.cs (2)
18using var builder = TestDistributedApplicationBuilder.Create(publishMode ? DistributedApplicationOperation.Publish : DistributedApplicationOperation.Run);
AzureResourceExtensionsTests.cs (1)
189var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(cosmos.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
AzureSqlExtensionsTests.cs (2)
18using var builder = TestDistributedApplicationBuilder.Create(publishMode ? DistributedApplicationOperation.Publish : DistributedApplicationOperation.Run);
Aspire.Hosting.Dapr.Tests (2)
DaprTests.cs (2)
59var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(container, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 158var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(container, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
120using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.Milvus.Tests (2)
AddMilvusTests.cs (2)
110var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectA.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 121var containerConfig = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(container1.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.MongoDB.Tests (1)
AddMongoDBTests.cs (1)
149var env = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(mongoExpress, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.MySql.Tests (4)
AddMySqlTests.cs (4)
29using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 63var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 103var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 247var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(myAdmin, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.Oracle.Tests (4)
AddOracleTests.cs (4)
28using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 62var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 102var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 185var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.PostgreSQL.Tests (4)
AddPostgresTests.cs (4)
38using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 72var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 127var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 219var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
121var environmentVariables = await pyproj.Resource.GetEnvironmentVariableValuesAsync(DistributedApplicationOperation.Run);
Aspire.Hosting.Qdrant.Tests (5)
AddQdrantTests.cs (5)
31using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 67var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 140var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 183var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectA.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 195var containerConfig = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(container1.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.RabbitMQ.Tests (3)
AddRabbitMQTests.cs (3)
27using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 198using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 245using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.Redis.Tests (2)
AddRedisTests.cs (2)
222DistributedApplicationOperation.Run, 246DistributedApplicationOperation.Run,
Aspire.Hosting.SqlServer.Tests (2)
AddSqlServerTests.cs (2)
28using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 63var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerResource, DistributedApplicationOperation.Run, TestServiceProvider.Instance);
Aspire.Hosting.Tests (103)
Dashboard\DashboardLifecycleHookTests.cs (1)
115new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run),
Dashboard\DashboardResourceTests.cs (7)
107var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(dashboard, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 211var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(dashboard, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 246var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(dashboard, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 278var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(dashboard, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 319var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(dashboard, DistributedApplicationOperation.Run, app.Services).DefaultTimeout(); 357var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(dashboard, DistributedApplicationOperation.Run, app.Services).DefaultTimeout(); 503using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Dashboard\TransportOptionsValidatorTests.cs (16)
16var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 36var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Publish); 55var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 73var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 88var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 109var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 128var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 148var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 170var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 192var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 217var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 242var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 264var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 286var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 302var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run); 318var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Run);
Dcp\ApplicationExecutorTests.cs (1)
1036new DistributedApplicationExecutionContext(new DistributedApplicationExecutionContextOptions(DistributedApplicationOperation.Run)
DistributedApplicationBuilderTests.cs (3)
18[InlineData(new string[0], DistributedApplicationOperation.Run)] 19[InlineData(new string[] { "--publisher", "manifest" }, DistributedApplicationOperation.Publish)] 20public void BuilderExecutionContextExposesCorrectOperation(string[] args, DistributedApplicationOperation operation)
ExpressionResolverTests.cs (3)
65var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(source.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance, "ContainerHostName").DefaultTimeout(); 97var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(test.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance, "ContainerHostName").DefaultTimeout(); 116var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(test.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance, "ContainerHostName").DefaultTimeout();
KestrelConfigTests.cs (13)
18operation: DistributedApplicationOperation.Run, 41var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 54operation: DistributedApplicationOperation.Run, 79var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 91var resource = CreateTestProjectResource<ProjectWithKestrelHttpsEndpoint>(operation: DistributedApplicationOperation.Run); 108var resource = CreateTestProjectResource<ProjectWithMultipleHttpKestrelEndpoints>(operation: DistributedApplicationOperation.Run); 135operation: DistributedApplicationOperation.Run, 144var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 214operation: DistributedApplicationOperation.Publish, 281operation: DistributedApplicationOperation.Publish, 312operation: DistributedApplicationOperation.Publish); 349DistributedApplicationOperation operation = DistributedApplicationOperation.Publish,
ProjectResourceTests.cs (20)
64DistributedApplicationOperation.Run); 78var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 178var appBuilder = CreateBuilder(args: [$"DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS={value}"], DistributedApplicationOperation.Run); 189var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 239var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Run); 304var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Publish); 318var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Publish).DefaultTimeout(); 327var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Run); 361var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 371var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Run); 383var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 392var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Run); 408var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 417var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Run); 435var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 599var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Run); 622var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 640internal static IDistributedApplicationBuilder CreateBuilder(string[]? args = null, DistributedApplicationOperation operation = DistributedApplicationOperation.Publish) 647if (operation == DistributedApplicationOperation.Publish)
ResourceExtensionsTests.cs (1)
168var env = await container.Resource.GetEnvironmentVariableValuesAsync(DistributedApplicationOperation.Publish).DefaultTimeout();
Utils\EnvironmentVariableEvaluator.cs (4)
9DistributedApplicationOperation applicationOperation = DistributedApplicationOperation.Run, 38(DistributedApplicationOperation.Run, IValueProvider provider) => await ExpressionResolver.ResolveAsync(resource.IsContainer(), provider, containerHostName, CancellationToken.None), 39(DistributedApplicationOperation.Publish, IManifestExpressionProvider provider) => provider.ValueExpression,
Utils\ManifestUtils.cs (2)
26var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Publish); 43var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Publish);
Utils\TestDistributedApplicationBuilder.cs (3)
33public static TestDistributedApplicationBuilder Create(DistributedApplicationOperation operation) 37DistributedApplicationOperation.Run => (string[])[], 38DistributedApplicationOperation.Publish => ["Publishing:Publisher=manifest"],
Utils\VolumeNameGeneratorTests.cs (1)
56var publishBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
WithEndpointTests.cs (3)
215var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 458using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 520using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
WithEnvironmentTests.cs (11)
53var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 66var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(project.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 82var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(project.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 98var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectA.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 115var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectA.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 131DistributedApplicationOperation.Publish).DefaultTimeout(); 148DistributedApplicationOperation.Run, 170var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectA.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 198var manifestConfig = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerB.Resource, DistributedApplicationOperation.Publish).DefaultTimeout(); 254var runConfig = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(targetBuilder.Resource, DistributedApplicationOperation.Run).DefaultTimeout(); 260var publishConfig = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(targetBuilder.Resource, DistributedApplicationOperation.Publish).DefaultTimeout();
WithReferenceTests.cs (14)
29var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 52var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 77var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 100var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 121var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 139await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 153var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 172var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance); 191var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 207var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Publish).DefaultTimeout(); 223var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Publish).DefaultTimeout(); 242var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 264var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout(); 296var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectA.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).DefaultTimeout();