I have a single class which is used from mutliple ServiceHost
instances. I need this to simulate several environments on one machine.
I need to somehow pass some information from the time I create the
ServiceHost down to the contract class.
1) I looked for a static method or other that would be accesible from
the contract class, but did not find any.
2) I can use singleton constructor and pass an instance of the class
with the data. But the docs are very sparse and when it talks about
singleton and based on the error I received, it appears not only
singleton to serialize requests - I dont want that.
3) I could make them separate processes or appdomains, but I would
really prefer to avoid that for simplicity reasons as well as
"Programming is an art form that fights back" http://www.KudzuWorld.com/
Need a professoinal technical speaker at your event? See www.woo-hoo.net