Well, this can be a little tricky, since the preferred way to call WCF services is on a per-call basis, for example. you really have nothing that "started" and then just hung, really.
If you host your service in IIS or WAS, it is even βon demand downloadβ of your service host - when a message arrives, the node is created and processes the request.
If you are using the host yourself, you have a Winforms console or application, so you can look in there to find out when they will start. If you have a Windows service to host your host, you will most likely override the OnStart and OnStop methods in the ServiceBase β class.
The question is what exactly are you trying to accomplish? Just registering or something like that, or do you want something to be remembered to stick to?
Mark
marc_s Apr 11 '09 at 7:29 2009-04-11 07:29
source share