28 references to AddContainer
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusExtensions.cs (1)
261
.
AddContainer
($"{builder.Resource.Name}-sqledge",
Aspire.Hosting.Azure.Tests (5)
AzureCosmosDBEmulatorFunctionalTests.cs (1)
42
var dependentResource = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureEventHubsExtensionsTests.cs (1)
42
var dependentResource = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureServiceBusExtensionsTests.cs (1)
203
var dependentResource = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureSignalREmulatorFunctionalTest.cs (1)
57
var dependentResource = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureStorageEmulatorFunctionalTests.cs (1)
39
var dependentResource = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
Aspire.Hosting.Containers.Tests (5)
ContainerResourceBuilderTests.cs (4)
149
.
AddContainer
("container", "image", "original-tag")
161
.
AddContainer
("container", "image", "original-tag")
173
.
AddContainer
("container", "image", "original-tag")
186
.
AddContainer
("container", "redis-stack", "original-tag")
ContainerResourceTests.cs (1)
37
appBuilder.
AddContainer
("container", "none", "nightly");
Aspire.Hosting.Elasticsearch.Tests (1)
ElasticsearchFunctionalTests.cs (1)
252
var dependentResource = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
Aspire.Hosting.Tests (16)
HealthCheckTests.cs (2)
74
var resource = builder.
AddContainer
("resource", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
79
var dependentResource = builder.
AddContainer
("dependentresource", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
ResourceExtensionsTests.cs (5)
148
var container = builder.
AddContainer
("grafana", "grafana/grafana", "latest").WithImageSHA256("1adbcc2df3866ff5ec1d836e9d2220c904c7f98901b918d3cc5e1118ab1af991");
158
var container = builder.
AddContainer
("grafana", "grafana/grafana", "10.3.1");
168
var container = builder.
AddContainer
("elasticsearch", "library/elasticsearch", "8.14.0")
204
var container = builder.
AddContainer
("elasticsearch", "library/elasticsearch", "8.14.0")
237
var container = builder.
AddContainer
("elasticsearch", "library/elasticsearch", "8.14.0")
WaitForTests.cs (9)
96
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
129
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
170
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
218
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
272
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
329
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
378
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
412
var nginx = builder.
AddContainer
("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
452
var containerResource = builder.
AddContainer
("container", "image", "tag")