Article ID: 1639
Last updated: 20 Jul, 2017
Related Articles:
Riva settings files contain the following:
Best practices:
Result: At run time, all the nodes that contain the reference to the file SharedSettings.settings load the files as per the settings loading hierarchy. Format of an External .Settings FileAn external .settings file is an XML file that has the following format: <ConfigurationSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Settings> <add key="Key" value="Value" /> </Settings> </ConfigurationSettings> Each additional setting is added by an individual <add /> XML element. The "key" and "value" attributes are used to store the key/value pairs for each option. Formatting to reference another external .settings fileIn some cases, it is desirable to have many external .settings files in a chain. The key is set to "@settings". The value is set to the absolute path of the referenced .settings file. Absolute path examples:
Merging, Hierarchy, and OverridesIf a .settings file contains advanced or custom options and a reference to another .settings file, the contents are merged.
Article ID: 1639
Last updated: 20 Jul, 2017
Revision: 8
Views: 5116
|