Alex.Ratnikov
11-02-2009, 02:30 PM
Hi,
I have a WCF service and use Spring.ServiceModel.Activation.ServiceHostFactory as a factory in my *.svc. What I need is to load some data into cache when service is called first time or restarted.
Could you please suggest a best way to do so?
Right now I inherited from the Spring.ServiceModel.Activation.ServiceHostFactory and put my code there but probably should be a better way? Tnx in advance.
I have a WCF service and use Spring.ServiceModel.Activation.ServiceHostFactory as a factory in my *.svc. What I need is to load some data into cache when service is called first time or restarted.
Could you please suggest a best way to do so?
Right now I inherited from the Spring.ServiceModel.Activation.ServiceHostFactory and put my code there but probably should be a better way? Tnx in advance.