Make unnamed volume names more unique
This change updates the naming scheme for unnamed volumes to use the first 10 characters of the SHA256 of the app host's physical path as the volume name prefix. This ensures more unique volume names.
Version introduced
.NET Aspire 9.0 GA
Previous behavior
Previously, unnamed volumes did not follow a specific scheme for uniqueness, which could lead to conflicts.
New behavior
The new behavior uses the first 10 characters of the SHA256 of the app host's physical path as the volume name prefix, ensuring more unique volume names.
Type of breaking change
This change is a behavioral change.
Recommended action
Manually specify the volume name if the new naming scheme causes issues in your environment.
Affected APIs
None.
.NET Aspire