Am hosting the API project in azure devops. I have set the connectionstring in the keyvault, passing the value to Appsettings. In the password,'&' character is present. Hence i set the password in connectionstring as 'Test&test', but upon fetching the value, connection string is breaking, and it is not taking '&' in password properly. I have been using YAML file for deploying the project.
Asked
Active
Viewed 1,059 times
-1
-
1Your question provides too little context to enable us to give you a detailed answer. Please refer to [ask]. – rickvdbosch May 04 '20 at 08:18
1 Answers
0
You should escape any special characters like the ampersand. To escape the &
character, use &
instead of &
. Your connection string should be
Test&test

rickvdbosch
- 14,105
- 2
- 40
- 53