Update ASMX web service reference dynamically

2

I have a C # application that consumes a webservice asmx (which is also developed in C #).

Whenever I publish a new version of webservice, I need to update the (webservice) reference in the applications that consume it. The update operation is just right click on the reference and click Update Web Reference , as I show in the image below:

Is there any way to do this via code?

    
asked by anonymous 10.02.2016 / 20:37

0 answers