web.config and app.config confusion

后端 未结 2 1651
野趣味
野趣味 2020-12-01 17:43

I have a DLL that references a web service.

The block it has put into the app.config is (I have changed the names but you\'ll get the idea):



        
2条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 18:08

    Create a new sectionGroup in configSections called applicationSettings and paste your app.config configuration into web.config as shown below and then you can override your app.config settings.

    
    
        
            
                
    Setting in DataAccess

提交回复
热议问题