Web.ConfigIt is intended solely for use by a website that serves, among other things, as silverlight application files. The Silverlight applications on the website do not have any concept of "App.config".
- NameValueSectionHandler: -
<configuration>
<configSections>
<section name="myCustom" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<myCustom>
<add key="someItem" value="someValue" />
</myCustom>
</configuration>
HttpContext.
string someValue = ((NameValueCollection)context.GetSection("myCustom"))["someItem"];
, IConfigurationSectionHandler, Create, XmlNode, "myCustom" node.
. .
initParams . , xml xml .