Open WCF service host project that you created OR create one based on instructions here . Add a new project to the current solution: Right click Solution on Solution Explorer > Add > Add New Project Select Console Application template under Visual C# > Windows templates Change the project name to ConsoleClient and click OK In Solution Explorer, under ConsoleClient project, right click References and select Add Reference... Add reference to ProductServiceLibrary, System.ServiceModel and System.ServiceModel.Web In the Program.cs file, add using System.ServiceModel; ** add using System.ServiceModel.Web; add using ProductServiceLibrary; ** Add the following code namespace ConsoleClient { class Program { static void Main(string[] args) { ...
Education for everyone!