In the previous section, we have created a WCF project using the WCF Service Library template. In this section, we will create the service interface layer contracts.
As two sample files have already been created for us, we will try to reuse them as much as possible. Then, we will start customizing these two files to create the service contracts.
To create the service interfaces, we need to do the following to the
IProductService.cs. This will also change the interface name from all related places inside the project.
string GetData(int value);
Change it ...