Are there any standards for switching out connection strings for different environments in C# web apps? I’m currently evaluating which ways are the most secure including where to store them. I’ve seen people simply add them to the web config and switch them in code with if statements checking which environment they are on, but this seems cumbersome. Any ideas? Thanks.
Are there any standards for switching out connection strings for different environments in C#
Share
How bout Web config transformation?
It’s available with VS2010