The appSettings file attribute is equivalent to applicationSettings

In asp.net web.config file you can do

<appSettings file="local.appSettings.config">
    <add key="foo" value="bar" />
</appSettings>

and it will look in the local.appSettings.config file for any overrides to the foo / bar setting.

Is there an equivalent for applicationSettings? Something like that

<applicationSettings file="local.applicationSettings.config">
    <FooBar.My.MySettings>
        <setting name="foo" serializeAs="String">
            <value>bar</value>
        </setting>
    </FooBar.My.MySettings>
</applicationSettings>

or even a different approach to maintaining a different set of Settings applications, such as a local development kit and a production kit

+5
source share
1 answer

, configSource . configSource, . , , configSource .Net 2.0.

+3

All Articles