Unable read App.config values from Class Library

后端 未结 3 921
慢半拍i
慢半拍i 2021-01-03 05:14

This may be the simple question to answer, but I am struggling to resolve.

I have Web.config with the following values in my Web Application.

         


        
3条回答
  •  萌比男神i
    2021-01-03 05:27

    You have to merge both configuration sections and place all settings in the main configuration file of your application. In case of the web applciation it would be the web.config.

提交回复
热议问题