I need to create a common (GAC) assembly which hosts a singleton object. This singleton assembly would be registered in GAC and multiple applications need to refer this. Assembly should be sharing the exact state across all these applications.
What happens presently is that:
- Suppose my first application i.e application1 referring to singleton have an object which remains as singleton within that application scope
- when second application refers singleton, the old state for application 1 is not shared and its a new instance. What I need is that instance for application1 should be shared with application2