Creating custom ConfigSection / Setting issues
I have followed what I think is the documentation to create a setting. A simple class, and a boolean setting. It creates a .config file and I can fetch the boolean, update it, etc. And I can see it updating the .config. On local. When I go to DEV/TEST with the 3 files as a changeset and build I don't even see the config section in backend admin->settings->advanced.
Any help?
global.asax-
Config.RegisterSection<SystemMaintenanceConfig>();
SystemMaintenanceConfig.cs-
public class SystemMaintenanceConfig : ConfigSection
[ConfigurationProperty("Maintenance", DefaultValue = false, IsRequired = true)]
public bool Maintenance
get
return (bool)this["Maintenance"];
set
this["Maintenance"] = value;
Datacenter issue.
I am able to create my own settings and config now.
Stupid IIS issue.