Good afternoon, I decided to implement the possibility of a WCF service working on a duplex channel, but I ran into the problem of implementing a channel on a client, that is, in all the examples I read, I cannot understand where the class implementing InstanceContext comes from, or where it is not mentioned except for the code, here are the examples:
http://www.c-sharpcorner.com/uploadfile/dhananjaycoder/a-simple-duplex-service-in-wcf/ - Service1Client Class
http://wcftutorial.net/how-to-create-callback-service-in-wcf.aspx - class MyServiceClient
https://msdn.microsoft.com/en-us/library/ms731064%28v=vs.110%29.aspx- Class CalculatorDuplexClient
Help to understand the implementation on the client