static void Main(string[] args) { NetTcpBinding binding = new NetTcpBinding(); while (true) { Console.WriteLine("\nUnesite nesto: "); string str = Console.ReadLine(); IJob proxy = new ChannelFactory <IJob>(binding, new EndpointAddress("net.tcp://localhost:10100/InputRequest")).CreateChannel(); string s = proxy.AddEntity(str); Console.WriteLine(s); } Console.ReadKey(); }