I am trying to read the keys from the Web.config file in a different layer than the web layer (Same solution)
Web.config
Here is what I am trying:
Also you can try this line to get string value from app.config file.
app.config
var strName= ConfigurationManager.AppSettings["stringName"];