Last post Dec 15, 2012 03:02 PM by RameshRajendran
Dec 15, 2012 02:07 PM|mou_inn|LINK
i am beginner for WCF. so i was reading a code online for small wcf chat.i got stuck to create wcf client for that wcf chat. the url from where i was reading http://islameldemery.blogspot.in/2008/05/wcf-serverclient-chat-sample.html
there is one part for interface and service is hosted in win form with the help of ServiceHost but i am not being able to understand how proxy was created at client end.
they use this event below
which i really do not understand. can anyone tell me how the client was created. please visit the url and please tell me how that person create a proxy at client side for that chat service.
i tried to create a proxy dynamically like self hosted as
var myBinding = new NetTcpBinding(SecurityMode.None);
DuplexChannelFactory<ISampleChatCallback> cf =
IServerWithCallback srv = cf.CreateChannel();
but srv has no event called Opened,Closed or faulted etc. i really need to understand how proxy was created at cleint end. please help me to create proxy as a result i can complete the code for client side. thanks
Dec 15, 2012 03:02 PM|RameshRajendran|LINK