I want to move away from ConfigurationManager.AppSettings[""] being in the code. So I want to move all these references to the LibraryConfig.cs file.
Anywhere there is a reference to ConfigurationManager.AppSettings, a new property either needs to be created or a current property used.
- Find all references to AppSettings["ANYVALUE"]
- Put the value in RDN.Library.Classes.Config.LibraryConfig.cs
- Replace the reference for AppSettings["ANYVALUE"] with the LibraryConfig.cs value.
To get you started, the first value has already been added to LibraryConfig. As you can see by checking its references, its used in two places through out the site.
This needs to be done for the following RDN projects.