473,385 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Custom Configuration Sections in 2.0

I was going through the following article on msdn 2.0 on how to use the
custom configuration section.
http://msdn2.microsoft.com/en-us/library/2tw134k3.aspx

The custom config section it shows is this:
<myCustomGroup>
<myCustomSection myAttrib1="Clowns">
<myChildSection myChildAttrib1="Zippy"
myChildAttrib2="Michael Zawondy "/>
</myCustomSection>
</myCustomGroup>

So I started thinking about the sections which might have more than
'myChildSection' as follows:
<myCustomGroup>
<myCustomSection myAttrib1="Clowns">
<myChildSection myChildAttrib1="Zippy1"
myChildAttrib2="Michael Zawondy "/>
<myChildSection myChildAttrib1="Zippy2" myChildAttrib2="Suzzane
Zawondy "/>
</myCustomSection>
</myCustomGroup>

Can anyone enlighten me on how we can work with this config section? I
have been trying my luck with 2005 and I don't want to go the
IConfigurationSectionHandler way. Anyone knows how we can accomplish
this with the new ConfigurationManager in VS2005?

Jan 10 '06 #1
0 903

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: rdcpro | last post by:
In reading MSDN docs on creating custom Configuration sections, I found this page: ...
3
by: rdcpro | last post by:
Hi all, I've been building a nifty deserializing configuration handler that I use in conjunction with my web.config in an ASP.NET web app. This is working quite well, but I'm planning on...
1
by: Paloma GarcĂ­a | last post by:
Dear all, I have created personalized configuration sections in my web project following the instructions described in this page...
6
by: Tabi | last post by:
Hi, I want to create a custom section in my web.config that can hold my custom values. I created a section in web.config as written below. <configSections> <section name="myCustomSection"...
3
by: Jason Richmeier | last post by:
Is it possible to create a custom configuration file (other than app.config) that can be processed by classes in the System.Configuration namespace? I have seen a ton of articles that talk about...
6
by: Jeff Hegedus | last post by:
I have a dll that requires some configuration data. I put the configuration data in a custom configuration section in a config file that is loaded in the installation folder of the dll. If I...
3
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am trying to implement a configuration section in web.config and was wondering if I could do it without writing a handeler. I tried in the <configSections>. <sectionGroup name="Domains" >...
2
by: Smithers | last post by:
I have a Windows Forms application that implements a plug-in architecture whereby required assemblies are identified and loaded dynamically. Here are the relevant classes: A = application =...
0
by: =?Utf-8?B?a2FobGlu?= | last post by:
Hello, I am trying to create a custom SettingsProvider that works with the standard configuration sections that are provided by .NET. What I'm trying to achieve is that when the application...
4
balabaster
by: balabaster | last post by:
Okay, I decided that I needed to understand the whole custom configuration file bits and so I've spent some time playing around with it. It seems (in the most) relatively straight forward. However,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.