19 references to WithComputeEnvironment
Aspire.Hosting.Azure.Tests (8)
AzureAppServiceTests.cs (2)
350
.
WithComputeEnvironment
(env1);
354
.
WithComputeEnvironment
(env2);
AzureContainerAppsTests.cs (2)
1627
.
WithComputeEnvironment
(env1);
1630
.
WithComputeEnvironment
(env2);
AzureDeployerTests.cs (4)
494
builder.AddRedis("cache").
WithComputeEnvironment
(acaEnv);
495
var apiService = builder.AddProject<Project>("api-service", launchProfileName: null).
WithComputeEnvironment
(aasEnv);
496
var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").
WithComputeEnvironment
(acaEnv);
704
builder.AddRedis("cache").
WithComputeEnvironment
(containerAppEnv);
Aspire.Hosting.Docker.Tests (2)
DockerComposeTests.cs (2)
137
.
WithComputeEnvironment
(env1);
140
.
WithComputeEnvironment
(env2);
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesEnvironmentResourceTests.cs (2)
83
.
WithComputeEnvironment
(env1);
86
.
WithComputeEnvironment
(env2);
Deployers.AppHost (5)
AppHost.cs (5)
37
.
WithComputeEnvironment
(aca);
41
.
WithComputeEnvironment
(aas)
50
.
WithComputeEnvironment
(aas);
62
.
WithComputeEnvironment
(aca);
66
.
WithComputeEnvironment
(aca)
Pipelines.AppHost (2)
AppHost.cs (2)
41
.
WithComputeEnvironment
(acaEnv)
328
.
WithComputeEnvironment
(aasEnv)