When I added a web reference to a ASMX web service to my web project, it created a proxy, but with some settings in settings.setting file. Is there a way to move them to web.config file?
Asked
Active
Viewed 242 times
1 Answers
0
If required you can remove default settings and create some custom settings (appSettings can be used also). Here is one of my posts how to create custom settings inside web.config:
C# WCF System.Configuration.ConfigurationErrorsException: Unrecognized element 'ManagedService'
But you will have to set service client properties using code (read custom settings, set client properties).
Hope this answers your question.

Community
- 1
- 1

Gregor Primar
- 6,759
- 2
- 33
- 46