Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version introduced: 8.2.2
Application model items must have valid names.
This diagnostic error is reported when a resource's name is invalid, such as a name with consecutive hyphen (-
) characters.
This error shouldn't be suppressed, as invalid model names throw an exception at runtime.
Example
The following code generates ASPIRE006
:
var bbsContainer = builder.AddContainer("bbs--server", "coldwall/mystic")
.WithEndpoint(19991, 23);
To correct this Error
Use a valid name. For more information, see Resource naming conventions.
.NET Aspire