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)
42var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureEventHubsExtensionsTests.cs (1)
42var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureServiceBusExtensionsTests.cs (1)
203var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureSignalREmulatorFunctionalTest.cs (1)
57var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
AzureStorageEmulatorFunctionalTests.cs (1)
39var 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)
37appBuilder.AddContainer("container", "none", "nightly");
Aspire.Hosting.Elasticsearch.Tests (1)
ElasticsearchFunctionalTests.cs (1)
252var dependentResource = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
Aspire.Hosting.Tests (16)
HealthCheckTests.cs (2)
74var resource = builder.AddContainer("resource", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 79var dependentResource = builder.AddContainer("dependentresource", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22")
ResourceExtensionsTests.cs (5)
148var container = builder.AddContainer("grafana", "grafana/grafana", "latest").WithImageSHA256("1adbcc2df3866ff5ec1d836e9d2220c904c7f98901b918d3cc5e1118ab1af991"); 158var container = builder.AddContainer("grafana", "grafana/grafana", "10.3.1"); 168var container = builder.AddContainer("elasticsearch", "library/elasticsearch", "8.14.0") 204var container = builder.AddContainer("elasticsearch", "library/elasticsearch", "8.14.0") 237var container = builder.AddContainer("elasticsearch", "library/elasticsearch", "8.14.0")
WaitForTests.cs (9)
96var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 129var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 170var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 218var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 272var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 329var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 378var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 412var nginx = builder.AddContainer("nginx", "mcr.microsoft.com/cbl-mariner/base/nginx", "1.22") 452var containerResource = builder.AddContainer("container", "image", "tag")