Parsing boolean from configuration section in web.config
- by Bloopy
I have a custom configuration section in my web.config.
One of my classes is grabbing from this:
<myConfigSection LabelVisible="" TitleVisible="true"/>
I have things working for parsing if I have true or false, however if the attribute is blank I am getting errors. When the config section tries to map the class to the configuration…