I'm experimenting with WCF. I have a little winforms client that's communicating with my WCF host. I'd like to add a wrinkle, though, at least to try out.
I'd like to set up a CLR trigger that calls my WCF host. Fine, I do believe I can do that (though I haven't tried it yet).
But when the WCF host is called by that CLR trigger, what I'd like the host to then be able to do is this: for each client that has "registered" itself on the host (I'll make my host a singleton Windows service), the host is then able to iterate through a collection of client objects and inform each of them that a new event has arrived (via the CLR trigger).
What I need is to figure out how the host can keep a reference to each client object--so that basically, my winforms client can then *receive* events from its WCF host.
Can anyone help me with that? I've been successfully using WCF for about 2 hours, so please don't assume much WCF knowledge on my part, at all.
Thanks very much.