To address singletons with the SCSF, you can use the concept of Services. As this article about
Service Location from the SCSF documentation explains:
“Any WorkItem can contain only a single instance of a service type, but instances of the same service type can be placed in multiple
A possible approach that takes advantage of this could be adding your class to the application’s
RootWorkItem Service’s collection. Each time you get the service from the RootWorkItem you will be getting the same instance. You can check how SCSF follows this approach in the
BankBranch Workbench RI, in the
AddServices method of the SmartClientApplication class.
You can read more about this topic in the following article:
Please let me know if this helps.