Skip to content

Process endpoints in AzureAppSerice and do more validation #9659

@davidfowl

Description

@davidfowl

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions