configSource on all custom settings

Vote:
 

In web.config, EPiServer reads several settings from the <episerver> section. Due to different OS setups, some developers may need another setup than others and a configSource attribute on this section (or subsections) may help a lot to distribute settings to local settings files not checked into the same project.

Also, the same problem comes into account when deploying to test, staging, production  environments.

I hope you can take this one into consideration.

#25789
Nov 06, 2008 9:36
Vote:
 

As for all sections, this is also possible for the episerver section. To move the section, create a new configuration file and copy the whole episerver section to that file. Then remove the section in this file and add this line insted:

<episerver configSource="episerver.config" />

#25792
Nov 06, 2008 9:57
Vote:
 
Ah! Great, Per. I will try this at once.
#25798
Nov 06, 2008 10:42
Vote:
 

Works perfectly, but beware about upgrades, as the installer does not understand this (yet).

 /Steve

#25832
Nov 06, 2008 21:03
Vote:
 

Thanks Steve.

#25842
Nov 07, 2008 11:44
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.