title: WCF store data for current context
body: <p>I have an application existing of a website, local WPF client and a WCF service for communication with the client. These applications are currently being installed once per customer. I'd like to migrate my WCF-Service to azure and therefore accept calls from different customers. The only thing that actually changes is the db-connection string.</p>
  
  <p><img src="https://i.stack.imgur.com/Tto7a.gif" alt="enter image description here"></p>
  
  <p>My business logic builds on EF. EF always gets the connection string from a static method which reads it out of the config-file. (currently)</p>
  
  <p>So my question is: Where can I store the db-connection-string for the current caller? I know there is OperationContext, but I need something less specific so the library can be used for all type of apps i have. I thought of storing the caller in Thread.Principal but I'm not sure this is the right approach.</p>
  
  <p>Any suggestions highly appreciated.</p>