views:

347

answers:

1

I have a WCF service with single instance. I have consume it in silverlight and windows forms also. It's working fine in silverlight application but in windows it not create an service object. it tell me 3 parameters in service method. like

InstanceContext, EndPoint, Binding

the 2nd and 3rd argument I have passed but 1st argument what should I use? Please help me to consume this WCF single instance service in Windows forms.

Thanks

A: 
new InstanceContext(yourSingletonServiceContarctImplementationInstance);
Krzysztof Koźmic