Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

1

Short answer This is a problem I've encountered and solved. In short, the issue was indeed that a context was being injected (via an injected repository) which was kept alive in a Windows service consumer, which was not the intention. The short and simple answer on how I fixed this is to inject a context factory instead of a context. For my use case, I ...


Only top voted, non community-wiki answers of a minimum length are eligible