You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConfigureCustomDomain when called multiple times with different domains & parameters will override the last set domain.
Expected Behavior
When called multiple times, I would expect ConfigureCustomDomain to append the domain to the domain list instead of replace the list entirely.
Steps To Reproduce
Call ConfigureCustomDomain twice on the same container app, the second call will overwrite the first:
varbuilder=DistributedApplication.CreateBuilder(args);varcustomDomain1=builder.AddParameter("CustomDomain1");varcertificateName1=builder.AddParameter("CertificateName1");varcustomDomain2=builder.AddParameter("CustomDomain2");varcertificateName2=builder.AddParameter("CertificateName2");builder.AddProject<Sample_Web>("web").WithExternalHttpEndpoints().PublishAsAzureContainerApp((module,app)=>{app.ConfigureCustomDomain(customDomain1,certificateName1);// This doesn't workapp.ConfigureCustomDomain(customDomain2,certificateName2);});builder.Build().Run();
Is there an existing issue for this?
Describe the bug
ConfigureCustomDomain
when called multiple times with different domains & parameters will override the last set domain.Expected Behavior
When called multiple times, I would expect
ConfigureCustomDomain
to append the domain to the domain list instead of replace the list entirely.Steps To Reproduce
Call
ConfigureCustomDomain
twice on the same container app, the second call will overwrite the first:Exceptions (if any)
N/A
.NET Version info
.NET SDK: 9.0.102
.NET Runtime: 9.0.1
.NET Aspire: 9.0.0
Anything else?
N/A
The text was updated successfully, but these errors were encountered: