The UserSecretsId property raises an error if the value is not in a GUID format:
There is no hard requirement for a user secrets ID to be a GUID (I prefer to name them by project so if I need to copy the secrets folder to a new machine I know which file has which secrets in) for user secrets to work, so the GUID requirement should not be surfaced.
The
UserSecretsId
property raises an error if the value is not in a GUID format:There is no hard requirement for a user secrets ID to be a GUID (I prefer to name them by project so if I need to copy the secrets folder to a new machine I know which file has which secrets in) for user secrets to work, so the GUID requirement should not be surfaced.