3 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" });
Aspire.Hosting.Azure.Tests (1)
AzureServiceBusExtensionsTests.cs (1)
960serviceBusSql.Annotations.Add(new ContainerNameAnnotation { Name = "my-servicebus-mssql-container" });
8 references to Name
Aspire.Hosting (3)
Dcp\ContainerNetworkEndpointProvisioner.cs (2)
149IsContainerTunnelContainerName(containerNameAnnotation.Name)) 151throw 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)
176return containerNameAnnotation.Name;
Aspire.Hosting.Azure.Kusto.Tests (1)
AddAzureKustoTests.cs (1)
109Assert.Equal("custom-kusto-emulator", nameAnnotation.Name);
Aspire.Hosting.Azure.Tests (2)
AzureServiceBusExtensionsTests.cs (2)
701Assert.Equal("custom-sql", nameAnnotation.Name); 963Assert.Equal("my-servicebus-mssql-container", nameAnnotation.Name);
Aspire.Hosting.Docker (1)
DockerComposeServiceResource.cs (1)
152composeService.ContainerName = containerNameAnnotation.Name;
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
558? annotation.Name