I have a WPF application using WCF service references. When performing updates in the service, I need to update the service link, so I right-click it and click "Update Service Reference".
Execution of this result leads to duplicate entries in the App.config file of the client project.
WSHttpBinding_ISomeService --> WSHttpBinding_ISomeService1
Why does it duplicate the configuration? Should I update the name? And how can I make him stop?
What version of Visual Studio are you using? This is a known bug that was fixed in VS2010. Check out this link !
code-zoop says this known bug is resolved in VS2010, but I get it in VS2010 too.
It happens when I manually change the default value for the MaxReceivedMessageSize (and others) property of the baseHttpBinding in App.config (according to this post: WCF - How to increase the size of the message. )
, , VS2010. , , , .
.
, . , , ( WCF X), .
(-) DLL .
web.config, Update Referene, Serviceagent, - , web.config
Update Referene
, , ,
MAIN DLL > ServiceAgent1 DLL > ServiceAgent2 DLL
ServiceAgent1 ServiceAgent2 ,
Source: https://habr.com/ru/post/1725146/More articles:It is possible to work with vs2008 project files in vs2010 - visual-studio-2008UCS2 / HexEncoded Symbols - phpGet all constants from a class - phpIs there heap compaction in C ++? - c ++iPhone SDK - UIWebView встраивает видео YouTube - iphoneИспользовать имя элемента в XSL - stringCan I upload photos but not post them to my Facebook wall? - facebookFacebook as a notification system - phpSubversion слияние локальных изменений в ветку - svnNeed a good HTML parser in php - htmlAll Articles