dotnet core mvc environment parameters

So we have our project under CI and want to make sure when we deliver it that the default environmental variables (like sql database) are dummy values, which we can do.

However, in terms of deploying it – rather than having a copy of like a config.json file and replacing it in the package, or manually updating the config file after each release. What would be the best way to have these updated during deployment? Is there a way to have msdeploy point to like a paramters file that could statically lives in each environment and on deployment msdeploy would use the parameters and update the config.json file?

submitted by /u/john9135
[link] [comments]

Leave a Reply