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:
There will be two Web.config files. I think you may have confused with those two files.
Check this image:
In this image you can see two Web.config files. You should add your constants to the one which is in the project folder not in the views folder
Hope this may help you