R
Railway9mo ago
Rhyan

Deploy .Net with secrets.json

I'm trying to deploy an application, and the site's json format doesn't allow it, I would like to know an alternative
9 Replies
Percy
Percy9mo ago
Project ID: 52e775b0-4f8a-4745-a291-5d533dd38df7
Adam
Adam9mo ago
Going to need some more info on this. What do you mean by "the site's json format doesn't allow it"?
Rhyan
Rhyan9mo ago
@Adam
No description
Adam
Adam9mo ago
The values of your Connectionstrings and externalservices must be strings, not dictionaries I believe they can be lists as well but definitely not dictionaries What do you need this for? Is this some sort of configuration?
Rhyan
Rhyan9mo ago
Yes, I need it for my database connection, and some things specific to my application
Brody
Brody9mo ago
that json input is only for environmental variables in the format
{
"key": "value"
}
{
"key": "value"
}
Rhyan
Rhyan9mo ago
Any alternatives for me to use?
Brody
Brody9mo ago
use environment variables in this format
Rhyan
Rhyan9mo ago
Okay, I'll have to change here in the code how some things work, thank you