Update WCF Data Service Reference in ASP.Net

on Jan 09, 2018 10:43 PM

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.

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Jan 09, 2018 10:46 PM

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.