HighTechTalks DotNet Forums  

Multiple configurations

Dotnet General Discussions microsoft.public.dotnet.general


Discuss Multiple configurations in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Rick
 
Posts: n/a

Default Multiple configurations - 04-06-2010 , 11:04 AM






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?

Reply With Quote
  #2  
Old   
dotNetDave
 
Posts: n/a

Default RE: Multiple configurations - 05-10-2010 , 11:06 AM






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


"Rick" wrote:

Quote:
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?


.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.