Multiple configurations

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?
 
D

dotNetDave

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top