.NET 2.0 BETA2: System.Configuration - Ernst Kuschke

   Ernst Kuschke

     Arbitrary thoughts and musings on life, the universe and everything else

Syndication

News

    ernst kuschke (v1.0)

    My Photos

    Microsoft Most Valuable Professional

    Member in good standing

    View Ernst Kuschke's profile on LinkedIn

    Add to Technorati Favorites

Blogs I read

Books I recommend

General Links

.NET 2.0 BETA2: System.Configuration

Most .NET developers will be familiar with the System.Configuration namespace, and in particular with the ConfigurationSettings.AppSettings class. When using this class in .NET 2.0, however, (even tough it will compile) you will see the warning that this is now obsolete, and been replaced by ConfigurationManager.AppSettings, which also exists in the System.Configuration namespace.

In .NET 1.1 the whole System.Configuration namespace existed in the system assembly, and this is also shipped as is in BETA2. However, when you look for the new ConfigurationManager.AppSettings class, you won't find it in there. To use this new class, you need to add a reference to the System.configuration (nope, that's not a typo) assembly, which contains the new version of this namespace.

Published Wednesday, May 11, 2005 12:47 PM by Ernst Kuschke

Comments

# re: .NET 2.0 BETA2: System.Configuration@ Wednesday, May 11, 2005 1:34 PM

*confused* that lower case 'c' in "System.configuration" is not a typo?

by Senkwe

# re: .NET 2.0 BETA2: System.Configuration@ Wednesday, May 11, 2005 2:20 PM

WTF?!

by Mark

# Re: .NET 2.0 BETA2: System.Configuration@ Thursday, May 12, 2005 8:46 AM

Man oh man oh man...

I just had a vision of people pulling out their hair, and cursing at the needless loss of countless development hours!

# re: .NET 2.0 BETA2: System.Configuration@ Thursday, May 12, 2005 11:46 AM

This must be one question for the speakers Q&A session at DevDays! :-)

by Mark

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: