Ideally, I would want to configure our Azure Web App application settings using build variables (on VSTS), for example:
We perform our publish tasks using P
You could have also used variable groups to achieve this, thus maintaining variables that are closely related, isolated from the build variables and from other groups of related variables. I have shown how to easily set this up in this answer.