Lisa M

Lisa M

  • NA
  • 67
  • 0

separate config files?

May 14 2008 10:12 AM
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)