I'm creating a custom configuration section and when trying to use WebConfigurationManager.GetSection() it is telling me that there is an unrecognized attribute "key" even though I have declared the property: [ConfigurationProperty( "key", IsRequired = true )]
public string Key
{
get
{
return this[ "key" ] as string;
}
}
<variables>
<add key="First" value="gclid"/>
</variables>
Go to the complete details ...