Skip to content

Allow users to define what endpoints are selected as ASPNETCORE_URLS, HTTP/HTTPS_PORTS and Kestrel endpoints #4472

@davidfowl

Description

@davidfowl

When defining endpoints on project resources, we have some default heuristics for expressing which of these endpoints are included in ASPNETCORE_URLS and which ones are included at publish time for HTTP/HTTPS_PORTS or if kestrel endpoints are defined, a way to use those.

We'd like to add some methods to allow overriding how these get included as an override in case you need to tweak the behavior. The ultimate escape hatch is setting the environment variable yourself as we don't override what users set, but maybe a more explicit way to configure set it would make sense.

This will be turned into an API proposal once we figure out the pattern.

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions