Azure App Service websites can have multiple containers but only a single public port can be exposed. We want to make sure we error in cases where there are multiple external ports. We also need to handle http and https traffic being exposed on the same target port. We do this today with ACA with this very complex set of rules that we use to process endpoints https://github.com/dotnet/aspire/blob/8aad4f144b5913f1ef2889cc6d5d5b59e86fe9f1/src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs#L182-L379.
We don't need to get this complex in AppService, we just need to throw if the scenario isn't supported.
Azure App Service websites can have multiple containers but only a single public port can be exposed. We want to make sure we error in cases where there are multiple external ports. We also need to handle http and https traffic being exposed on the same target port. We do this today with ACA with this very complex set of rules that we use to process endpoints https://github.com/dotnet/aspire/blob/8aad4f144b5913f1ef2889cc6d5d5b59e86fe9f1/src/Aspire.Hosting.Azure.AppContainers/ContainerAppContext.cs#L182-L379.
We don't need to get this complex in AppService, we just need to throw if the scenario isn't supported.