-
Notifications
You must be signed in to change notification settings - Fork 0
Home
[UNDER RECONSTRUCTION] - Note that the wiki is in the process of being reworked as the simple scenarios are now even simpler than in the past. All information in this wiki is still relevant though, but the order and consistency may be off until we finish reworking it. - 2015-December-19
Currently ConfigurationAssist supports the following:
- Mapping AppSettings to Config Classes
- Mapping Config Sections in Groups to the below types:
- Mapping Config Sections to custom ConfigurationSection typed Config Classes
- Mapping Config Sections that use NameValueSectionHandler
- Mapping Config Sections that use DictionarySectionHandler
- Mapping Config Sections that use SingleTagSectionHandler
Its often convenient to split app/web.config keys into logical groupings. This is where Configuration Sections come in handy. Its long supported feature of .Net but can be a little tedious if you want to strongly type the section.
ConfigurationAssist is here to help remove the repetitiveness involved in using config sections on strongly typed objects. It will also allow mapping to the keys in AppSetting and remove the tedium of converting the keys to other primitive types.
I have set up some basic examples and explanations in the sub pages:
Section Types and Strategies Explained
ConfigurationAssist is currently available on NuGet.
PM> Install-Package ConfigurationAssist
It currently supports the .NET Framework 3.5+