Update WCF Data Service Reference in ASP.Net

Last Reply 10 months ago By dharmendr

Posted 10 months ago

I created a web service with 2 operation contracts. Added service references in web application and consumed those methods in web.

now i add 3rd method in wcf service.

is it required to delete service reference and add again to consume 3rd method in web?

Thanks in advance.

Posted 10 months ago

Hi Mahesh1986,

No need to delete and add it again.

In Solution Explorer right click the service reference and then click Update Service Reference.

A progress dialog box is displayed while the reference is updated from its original location and the service client is regenerated to reflect any changes in the metadata.