17 references to WithComputeEnvironment
Aspire.Hosting.Azure.Tests (7)
AzureAppServiceTests.cs (2)
346
.
WithComputeEnvironment
(env1);
350
.
WithComputeEnvironment
(env2);
AzureContainerAppsTests.cs (2)
1563
.
WithComputeEnvironment
(env1);
1566
.
WithComputeEnvironment
(env2);
AzureDeployerTests.cs (3)
340
builder.AddRedis("cache").
WithComputeEnvironment
(acaEnv);
341
builder.AddProject<Project>("api-service", launchProfileName: null).
WithComputeEnvironment
(aasEnv);
342
builder.AddDockerfile("python-app", "python-app.Dockerfile").
WithComputeEnvironment
(acaEnv);
Aspire.Hosting.Docker.Tests (2)
DockerComposeTests.cs (2)
132
.
WithComputeEnvironment
(env1);
135
.
WithComputeEnvironment
(env2);
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesEnvironmentResourceTests.cs (2)
79
.
WithComputeEnvironment
(env1);
82
.
WithComputeEnvironment
(env2);
Aspire.Hosting.Tests (1)
ResourceExtensionsTests.cs (1)
311
resourceBuilder.
WithComputeEnvironment
(compute2);
Deployers.AppHost (5)
AppHost.cs (5)
27
.
WithComputeEnvironment
(aca);
31
.
WithComputeEnvironment
(aas)
40
.
WithComputeEnvironment
(aas);
45
.
WithComputeEnvironment
(aca);
49
.
WithComputeEnvironment
(aca)