Skip to main content

All Questions

Tagged with
0 votes
2 answers
702 views

Is there an easy way to simulate events between WCF service and WCF client?

So I've achieved localhost WCF Named Pipes communication between client EXE and server EXE. I can call class methods on the server over localhost. So, it's like an IPC/RPC. However, if the server's ...
Volomike's user avatar
  • 24.7k
1 vote
0 answers
196 views

EventArgs can not be serialized in WCF , Generic callback event

Suppose these Data Contracts: [DataContract] public class TestTabularPoint_C { [DataMember] public string Modality { get; set; } [DataMember] public string StudyDate { get; set; } ...
Aria's user avatar
  • 3,824
1 vote
0 answers
60 views

Event/Callback in WCF Service

hi i have a windows form who has a wcf service and i want to change label in that form when i type: with data from url. IWCFService.cs and WCFService.cs is empty. I dont know what must to write. I ...
Achill's user avatar
  • 17
1 vote
2 answers
5k views

C# - WCF Duplex => Fire an event when a client disconnect

I'm trying to let my service knows when one of the clients is disconnected. I'm using wsDualHttpBinding. Currently, I'm tried to use this event : OperationContext.Current.Channel.Closed += new ...
Oliboy50's user avatar
  • 2,701
1 vote
1 answer
1k views

WCF - Callback and/or Event

How can I receive a message from one client and Callback to all Clients connected to the Host to send that message?
user366312's user avatar
  • 16.4k
1 vote
2 answers
98 views

Can/should I use a mocking framework to dynamically add events to a class?

Consider the following interface: public interface IMyCallback { void SomeEvent(int someArg); } which is the contract for a WCF callback that will be receiving "events" from a WCF service. My ...
Mike's user avatar
  • 7,643