Creating and writing ASP.NET 2.0 custom Configuration Sections
Posted by: Rick Strahls WebLog,
on 29 Oct 2006 |
View original | Bookmarked: 0 time(s)
ASP.NET 2.0 has made it pretty nice to create custom configuration sections and be able to access these configuration sections via code. You can basically implement a new ConfigurationSection class. For example, Ive built a configuration section for my Database Resource Provider like this:
public class wwDbResourceProviderSection : ConfigurationSection
{
[ConfigurationProperty("connectionString",DefaultValue="),
...