I am trying to hide my server username and password in my default connection string. I have environment variables I set in the default config menu of visual studio, but how would I go about referencing them from default config? I can't use any string interpolation there.
{
"ConnectionStrings": {
"DefaultConnection": "server=localhost,1433;database=PizzaPlaceDb;user={SERVER_USERNAME};password={SERVER_PASSWORD};"
},
{
"ConnectionStrings": {
"DefaultConnection": "server=localhost,1433;database=PizzaPlaceDb;user={SERVER_USERNAME};password={SERVER_PASSWORD};"
},