custom-configuration Questions

4

Solved

I've written some custom configuration collections, elements etc. Now, I'd like to do a simple Linq statement: ServerDetails servers = ConfigurationManager.GetSection("serverDetails") as ServerDet...
Ashtoreth asked 7/12, 2011 at 10:22

4

Solved

I have a question about loading properties from custom configuration files. I have tried two different approaches to loading my oauth.properties file but I can't get either to work so I'm hoping so...
Despain asked 1/5, 2012 at 1:36

3

Solved

I'm a quite beginner with config sections in c# I want to create a custom section in config file. What I've tried after googling is as the follows Config file: <?xml version="1.0" encoding="...
Whiteeye asked 13/10, 2012 at 22:10

1

Solved

How would I need to write my custom ConfigurationSection so that it is both a section handler and a configuration element collection? Normally, you have one class that inherits from ConfigurationS...
Pertinacious asked 17/1, 2013 at 21:33

1

I need custom configuration in following way <root> <group> <groupitem> <property1/> <property2/> <property3/> <property4/> </groupitem> &lt...
Jurisconsult asked 15/1, 2013 at 8:45

2

Solved

I have a customized config section in my web.config like this: <configSection> <section name="CustomConfig" type="ConfigSectionRoot" allowLocation="true" allowDefinition="Everywhere"/&g...
Bloomers asked 12/10, 2012 at 9:57

3

Solved

Is it possible to have a CollectionElementCollection with a number of different by type CollectionElements, e.g.: <collection> <add type="MyType1, MyLib" Type1SpecificProp="1" /> &lt...

1

Solved

I have the following bits in App.config for a .NET 3.5 Windows Service: <configSections> <section name="ConfigurationServiceSection" type="SomeApp.Framework.Configuration.ConfigurationSe...
Fala asked 11/9, 2011 at 19:17

4

Solved

How to read this custom configuration from App.config? <root name="myRoot" type="rootType"> <element name="myName" type="myType" /> <element name="hisName" type="hisType" /> &...
Flavoring asked 2/6, 2011 at 18:20

1

Solved

I've recently wrote a rather large custom configuration group. I'm curious if it is possible to move this configuration to a separate file via the following: <configuration> <configSecti...
Pedo asked 13/10, 2009 at 20:17
1

© 2022 - 2024 — McMap. All rights reserved.