How to set connection strings for remote server
I'm uploading my project for the first time to another server accessible from the net.
I set my secret like
dotnet user-secrets set ConnectionStrings:YourDatabaseAlias ...
according to Microsoft's documentation, but I cannot find a single thing about how to set those secrets in my remote server.2 Replies
user secrets are meant for development, to keep the secrets out of you code and out of your version control
in production you would use environment variables or a secure key value store of similar
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View