Change application settings for a deployed class library?

If I define application level settings (using Properties.Settings) in the class library, can I change these settings after deploying the dll in the application? If so, how? Am I just creating an equivalent setting in web.config to override it?

+3
source share
1 answer

I found that you should declare a section for the DLL library in the web.config file. So, if your namespace is "Company.Application.DataLayer", you will need to include the "Company.Application.DataLayer.Properties.Settings" section specified in the "applicationSettings" section.

. , web.config.

+2

Source: https://habr.com/ru/post/1725889/


All Articles