2 writes to Name
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
1110
return builder.WithAnnotation(new ContainerNameAnnotation {
Name
= name }, ResourceAnnotationMutationBehavior.Replace);
Aspire.Hosting.Azure.Kusto.Tests (1)
AddAzureKustoTests.cs (1)
102
builder.WithAnnotation(new ContainerNameAnnotation() {
Name
= "custom-kusto-emulator" });
5 references to Name
Aspire.Hosting (3)
Dcp\ContainerCreator.cs (2)
234
IsContainerTunnelContainerName(containerNameAnnotation.
Name
))
236
throw 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)
162
return containerNameAnnotation.
Name
;
Aspire.Hosting.Azure.Kusto.Tests (1)
AddAzureKustoTests.cs (1)
109
Assert.Equal("custom-kusto-emulator", nameAnnotation.
Name
);
Aspire.Hosting.Docker (1)
DockerComposeServiceResource.cs (1)
151
composeService.ContainerName = containerNameAnnotation.
Name
;