{"action":"created","issue":{"url":"https://api.github.com/repos/structuremap/StructureMap.Microsoft.DependencyInjection/issues/23","repository_url":"https://api.github.com/repos/structuremap/StructureMap.Microsoft.DependencyInjection","labels_url":"https://api.github.com/repos/structuremap/StructureMap.Microsoft.DependencyInjection/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/structuremap/StructureMap.Microsoft.DependencyInjection/issues/23/comments","events_url":"https://api.github.com/repos/structuremap/StructureMap.Microsoft.DependencyInjection/issues/23/events","html_url":"https://github.com/structuremap/StructureMap.Microsoft.DependencyInjection/issues/23","id":213939289,"node_id":"MDU6SXNzdWUyMTM5MzkyODk=","number":23,"title":"Can I inititialize WebHostBuilder with and existing container?","user":{"login":"hellfirehd","id":61830,"node_id":"MDQ6VXNlcjYxODMw","avatar_url":"https://avatars3.githubusercontent.com/u/61830?v=4","gravatar_id":"","url":"https://api.github.com/users/hellfirehd","html_url":"https://github.com/hellfirehd","followers_url":"https://api.github.com/users/hellfirehd/followers","following_url":"https://api.github.com/users/hellfirehd/following{/other_user}","gists_url":"https://api.github.com/users/hellfirehd/gists{/gist_id}","starred_url":"https://api.github.com/users/hellfirehd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellfirehd/subscriptions","organizations_url":"https://api.github.com/users/hellfirehd/orgs","repos_url":"https://api.github.com/users/hellfirehd/repos","events_url":"https://api.github.com/users/hellfirehd/events{/privacy}","received_events_url":"https://api.github.com/users/hellfirehd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-03-14T00:54:26Z","updated_at":"2018-08-26T13:50:39Z","closed_at":null,"author_association":"NONE","body":"The call to .UseStructureMap() expects nothing or a Registry.  Either way it creates a brand new container. \r\n\r\nI would prefer to use an existing container with cross cutting services that the entire application uses, not just WebHost.\r\n\r\nThis could be done if there was a .UseStructureMap(IContainer) overload.  Is there any interest in this?  Or is it a bad idea and if so, why?"},"comment":{"url":"https://api.github.com/repos/structuremap/StructureMap.Microsoft.DependencyInjection/issues/comments/416040370","html_url":"https://github.com/structuremap/StructureMap.Microsoft.DependencyInjection/issues/23#issuecomment-416040370","issue_url":"https://api.github.com/repos/structuremap/StructureMap.Microsoft.DependencyInjection/issues/23","id":416040370,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjA0MDM3MA==","user":{"login":"dazinator","id":3176632,"node_id":"MDQ6VXNlcjMxNzY2MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/3176632?v=4","gravatar_id":"","url":"https://api.github.com/users/dazinator","html_url":"https://github.com/dazinator","followers_url":"https://api.github.com/users/dazinator/followers","following_url":"https://api.github.com/users/dazinator/following{/other_user}","gists_url":"https://api.github.com/users/dazinator/gists{/gist_id}","starred_url":"https://api.github.com/users/dazinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazinator/subscriptions","organizations_url":"https://api.github.com/users/dazinator/orgs","repos_url":"https://api.github.com/users/dazinator/repos","events_url":"https://api.github.com/users/dazinator/events{/privacy}","received_events_url":"https://api.github.com/users/dazinator/received_events","type":"User","site_admin":false},"created_at":"2018-08-26T13:50:39Z","updated_at":"2018-08-26T13:50:39Z","author_association":"NONE","body":"> Above code will fail, when try to resolve IServer instance within WebHost class, with exception\r\nStructureMap.StructureMapConfigurationException : No default Instance is registered and cannot be automatically determined for type 'IOptions<KestrelServerOptions>'\r\n\r\nI am also having a problem with `IOptions<T>`. Perhaps this is related to #43 "}}
{"actor":{"display_login":"dazinator"}}