1
Reply

separate config files?

Lisa M

Lisa M

May 14 2008 10:12 AM
2.4k
I'm looking to have my application accept a command line argument to specify if the user wants to use the training system or the live system. What is best practive for the db connection string?

Should I store 2 in the config and set the connection string globally based off the command line?

Or can I have 2 config files and switch which I read from?

Help is appreciated!

Answers (1)