{"action":"created","issue":{"url":"https://api.github.com/repos/seesharper/LightInject/issues/277","repository_url":"https://api.github.com/repos/seesharper/LightInject","labels_url":"https://api.github.com/repos/seesharper/LightInject/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/seesharper/LightInject/issues/277/comments","events_url":"https://api.github.com/repos/seesharper/LightInject/issues/277/events","html_url":"https://github.com/seesharper/LightInject/issues/277","id":155195406,"number":277,"title":"Can't resolve factory to IoC registration on different thread","user":{"login":"LightInjectedVenom","id":13826655,"avatar_url":"https://avatars.githubusercontent.com/u/13826655?v=3","gravatar_id":"","url":"https://api.github.com/users/LightInjectedVenom","html_url":"https://github.com/LightInjectedVenom","followers_url":"https://api.github.com/users/LightInjectedVenom/followers","following_url":"https://api.github.com/users/LightInjectedVenom/following{/other_user}","gists_url":"https://api.github.com/users/LightInjectedVenom/gists{/gist_id}","starred_url":"https://api.github.com/users/LightInjectedVenom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightInjectedVenom/subscriptions","organizations_url":"https://api.github.com/users/LightInjectedVenom/orgs","repos_url":"https://api.github.com/users/LightInjectedVenom/repos","events_url":"https://api.github.com/users/LightInjectedVenom/events{/privacy}","received_events_url":"https://api.github.com/users/LightInjectedVenom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-17T07:41:57Z","updated_at":"2016-05-17T08:22:27Z","closed_at":null,"body":"Hi Bernhard,\r\n\r\nOn our Asp.Net Web API project we are using strategy pattern by help of Lightinject Container.\r\nOn Asp.Net Web Api project's main process thread we can resolve the dependencies correctly.\r\nWe then create a new thread in that web application. On that thread the dependencies do not resolve.\r\n\r\nOn our strategy pattern contexts we use IEnumerable dependency injection functionality of LightInject IoC. \r\n\r\nWhat should be the problem related with other threads ? Any ideas or suggestions will be much appreciated.\r\n\r\nThank you.\r\n\r\nErhan & Ogan"},"comment":{"url":"https://api.github.com/repos/seesharper/LightInject/issues/comments/219651262","html_url":"https://github.com/seesharper/LightInject/issues/277#issuecomment-219651262","issue_url":"https://api.github.com/repos/seesharper/LightInject/issues/277","id":219651262,"user":{"login":"LightInjectedVenom","id":13826655,"avatar_url":"https://avatars.githubusercontent.com/u/13826655?v=3","gravatar_id":"","url":"https://api.github.com/users/LightInjectedVenom","html_url":"https://github.com/LightInjectedVenom","followers_url":"https://api.github.com/users/LightInjectedVenom/followers","following_url":"https://api.github.com/users/LightInjectedVenom/following{/other_user}","gists_url":"https://api.github.com/users/LightInjectedVenom/gists{/gist_id}","starred_url":"https://api.github.com/users/LightInjectedVenom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightInjectedVenom/subscriptions","organizations_url":"https://api.github.com/users/LightInjectedVenom/orgs","repos_url":"https://api.github.com/users/LightInjectedVenom/repos","events_url":"https://api.github.com/users/LightInjectedVenom/events{/privacy}","received_events_url":"https://api.github.com/users/LightInjectedVenom/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T08:22:27Z","updated_at":"2016-05-17T08:22:27Z","body":"Dear Bernhard,\r\n\r\nTo produce a quick (and most probably dirty) fix to our problem we created a new container in constructor of the class where our new Thread is bound to. Then we re-registered all assembly registrations to that container as well. But my insight is telling me there might be a better solution to this issue.\r\n\r\nWe are looking forward to your ideas and suggestions about this.\r\n\r\nThank you.\r\n\r\nErhan & Ogan"}}