Blog

System.Configuration 2.0

December 15, 2006

Today I was working my way through migrating a web service application from .NET 1.1 to .NET 2.0. One of the things that I came across was the new architecture of the System.Configuration namespace. I'm using two custom configuration sections in the web.config and the compiler issued a warning error (ALWAYS treat warnings as errors) that the ConfigurationSettings class is obsolete. Apparently it has been replaced by the ConfigurationManager class. I used this class before but I must admit that this was actually the first time I tried to create a custom section in .NET 2.0. So I started my hunt for more information and examples, and after some disappointments I found two very good articles on The Code Project:

Unraveling the Mysteries of .NET 2.0 Configuration

Decoding the Mysteries of .NET 2.0 Configuration

I'd like to share these with you, my loyal readers ;-) because they really helped me out today and hopefully they will be useful for you too.

If you and your team want to learn more about how to write maintainable unit tests and get the most out of TDD practices, make sure to have look at our trainings and workshops or check out the books section. Feel free to reach out at infonull@nullprincipal-itnull.be.

Profile picture of Jan Van Ryswyck

Jan Van Ryswyck

Thank you for visiting my blog. I’m a professional software developer since Y2K. A blogger since Y2K+5. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Comments

About

Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Author of Writing Maintainable Unit Tests. Provider of training and coaching in XP practices. Curator of the Awesome Talks list. Thinking and learning about all kinds of technologies since forever.

Contact information

(+32) 496 38 00 82

infonull@nullprincipal-itnull.be