Top "Configurationelement" questions

Getting config element from ConfigurationElementCollection

I have (hopefully) setup ConfigurationElementCollection of my own design with emails as keys. Now what? Hard to find actually on …

c# system.configuration configurationelement
How to revert an HttpError ConfigurationElement back to "Inherited" using IIS 7 API

Suppose I have the following <httpErrors> collection in a web.config: <httpErrors> </httpErrors> Yep, …

.net iis-7 servermanager configurationelement
.NET base type cannot be serialized by WCF

I'm writing a WCF service and want to expose some custom configuration elements (e.g. Custom ConfigurationSection and ConnectionStringSettings) so …

wcf serialization datacontract datamember configurationelement
ConfigurationSection multiple enum values

Is there a way to set multiple enum values in a configuration section? Like you do in .net object.Filter = …

c# .net configuration configurationsection configurationelement
How do I use .NET custom ConfigurationElement properties on descendent elements?

How can I get and use an attribute set in the parent ConfigurationSection in the descendent CustomSetting element? I need …

.net configuration app-config configurationsection configurationelement
Can't set DefaultValue for ConfigurationProperty of Custom ConfigurationElement type

I have a small problem with DefaultValue for ConfigurationProperty. Here is the part of my XML config : <Storage id="…

c# .net configuration configurationelement