microsoft / microsoft/aspire

Support further restricting resource/endpoint naming from hosting integrations

Open
#13,404 3 comments 0 reactions 0 assignees View on GitHub
area-app-model
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

There are times when the current rules for what chars are allowed in resource names is not restrictive enough, e.g. for hypens/dahses (#13047).

We should consider adding support for hosting integrations to further restrict the resource naming scheme. This would be enforced at runtime and via the analyzer. The analyzer requires the information about the restriction to be available at build time so making the extensibility point here an MSBuild property or item type that hosting integration packages can set via custom build targets, e.g. `$(AspireResourceNameExtraDisallowedChars);-`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.