2 writes to Name
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
1110return builder.WithAnnotation(new ContainerNameAnnotation { Name = name }, ResourceAnnotationMutationBehavior.Replace);
Aspire.Hosting.Azure.Kusto.Tests (1)
AddAzureKustoTests.cs (1)
102builder.WithAnnotation(new ContainerNameAnnotation() { Name = "custom-kusto-emulator" });
5 references to Name
Aspire.Hosting (3)
Dcp\ContainerCreator.cs (2)
234IsContainerTunnelContainerName(containerNameAnnotation.Name)) 236throw new DistributedApplicationException($"Container resource '{container.Name}' uses container name '{containerNameAnnotation.Name}', which conflicts with the Aspire container tunnel container name '{ContainerTunnelContainerName}'. Rename the container or disable the Aspire container tunnel.");
Dcp\DcpNameGenerator.cs (1)
162return containerNameAnnotation.Name;
Aspire.Hosting.Azure.Kusto.Tests (1)
AddAzureKustoTests.cs (1)
109Assert.Equal("custom-kusto-emulator", nameAnnotation.Name);
Aspire.Hosting.Docker (1)
DockerComposeServiceResource.cs (1)
151composeService.ContainerName = containerNameAnnotation.Name;