Top "Configurationsection" questions

Represents a section within a configuration file.

How to get the values of a ConfigurationSection of type NameValueSectionHandler

I'm working with C#, Framework 3.5 (VS 2008). I'm using the ConfigurationManager to load a config (not the default app.config file) …

c# config configurationmanager configurationsection
How do you use sections in c# 4.0 app.config?

I want to use my app config to store the settings for 2 companys, and i'd prefer if it was possible …

c# .net configuration app-config configurationsection
Correct implementation of a custom config section with nested collections?

In a web application, I want to be able to define some mapping using a config section like this: <…

c# configuration configuration-files configurationsection
Can't load a manifest resource with GetManifestResourceStream()

I've created a custom configuration section using XSD. In order to parse the config file that follows this new schema, …

c# .net configurationsection
ConfigurationProperty is inaccessible due to its protection level

I wanna read/write (and save) application's configuration file in program The app.config is like this: <configuration> &…

c# .net app-config configurationmanager configurationsection
How to get all sections by name in the sectionGroup applicationSettings in .Net 2.0

Here's the idea I had: I want a small executable to have an app.config file with multiple sections that …

c# configuration mono .net-2.0 configurationsection
ConfigurationSection ConfigurationManager.GetSection() always returns null

I am trying to learn how to use the ConfigurationSection class. I used to use the IConfigurationSectionHandler but released that …

c# configurationmanager configurationsection
TimeSpan of days in configuration?

It appears that ConfigurationElement of TimeSpan can't handle values larger than 23:59:59. Are there any workarounds? Is subclassing TimeSpan, and making …

c# timespan configurationsection
Sections must only appear once per config file! why?

I'm getting the following exeption: "Sections must only appear once per config file. See the help topic for exceptions. " my …

c# configuration app-config configurationsection
custom ConfigurationSection

I use IConfigurationSectionHandler interface to get information about my custom config section. But it's deprecated and I want to use …

c# .net configuration configurationsection