Multiple configurations

  • Thread starter Thread starter Rick
  • Start date Start date
R

Rick

I'll be setting up to be able to install multiple versions later, but right
now I'd like to know if it's possible to setup different settings in
different configurations. Such as, configuration=test,
connectionstring=test_db, then in configuration=production,
connectionstring=prod_db.

Am I making sense and is this possible without a bunch of startup code?
 
Where I work we just use different config files and rename them based on
deployment. For example we have web.config.dev, web.config.qa and
web.config.prod.

When we move the code over to the specific server we just remove the
appropriate suffix.

David


======================================
David McCarter [Microsoft MVP]
www.dotNetTips.com
David McCarter''''s .NET Coding Standards available at:
http://codingstandards.notlong.com
 
Back
Top