F
Frank Munsberg
So far I've found some examples for custom ConfigSection implementations that
did work but fall a bit short of what I'd need to store in my app.config file.
The XML that could store what I want looks sort of like this:
<Customers>
<Customer name="Customer1">
<SomeOtherData someValue="X" />
<Channels>
<add folderType="A" path="c:\foo" />
<add folderType="B" path="C:\foo1" />
</Channels>
</Customer>
<Customer name="Customer2">
<SomeOtherData someValue="X" />
<Channels>
<add folderType="X" path="C:\bar" />
</Channels>
</Customer>
</Customers>
The basic idea is to have a list of customers and each customer can have a
data element for something and a list of channels that contain some other
settings.
Can anyone tell me if it is even possible to load this kind of XML construct
with the default .Net 3.5 configuration API ?
Greets
Frank
did work but fall a bit short of what I'd need to store in my app.config file.
The XML that could store what I want looks sort of like this:
<Customers>
<Customer name="Customer1">
<SomeOtherData someValue="X" />
<Channels>
<add folderType="A" path="c:\foo" />
<add folderType="B" path="C:\foo1" />
</Channels>
</Customer>
<Customer name="Customer2">
<SomeOtherData someValue="X" />
<Channels>
<add folderType="X" path="C:\bar" />
</Channels>
</Customer>
</Customers>
The basic idea is to have a list of customers and each customer can have a
data element for something and a list of channels that contain some other
settings.
Can anyone tell me if it is even possible to load this kind of XML construct
with the default .Net 3.5 configuration API ?
Greets
Frank