{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Docs/issues/5376","repository_url":"https://api.github.com/repos/aspnet/Docs","labels_url":"https://api.github.com/repos/aspnet/Docs/issues/5376/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Docs/issues/5376/comments","events_url":"https://api.github.com/repos/aspnet/Docs/issues/5376/events","html_url":"https://github.com/aspnet/Docs/issues/5376","id":294820311,"number":5376,"title":"Suggestion to use an alternative container for the IMiddlewareFactory topic sample","user":{"login":"guardrex","id":1622880,"avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"guardrex","id":1622880,"avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false},"assignees":[{"login":"guardrex","id":1622880,"avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/Docs/milestones/28","html_url":"https://github.com/aspnet/Docs/milestone/28","labels_url":"https://api.github.com/repos/aspnet/Docs/milestones/28/labels","id":3082679,"number":28,"title":"Sprint 131 (Feb 3 - Feb 23)","description":"","creator":{"login":"Rick-Anderson","id":3605364,"avatar_url":"https://avatars1.githubusercontent.com/u/3605364?v=4","gravatar_id":"","url":"https://api.github.com/users/Rick-Anderson","html_url":"https://github.com/Rick-Anderson","followers_url":"https://api.github.com/users/Rick-Anderson/followers","following_url":"https://api.github.com/users/Rick-Anderson/following{/other_user}","gists_url":"https://api.github.com/users/Rick-Anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/Rick-Anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rick-Anderson/subscriptions","organizations_url":"https://api.github.com/users/Rick-Anderson/orgs","repos_url":"https://api.github.com/users/Rick-Anderson/repos","events_url":"https://api.github.com/users/Rick-Anderson/events{/privacy}","received_events_url":"https://api.github.com/users/Rick-Anderson/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":1,"state":"open","created_at":"2018-02-02T01:54:46Z","updated_at":"2018-02-06T21:08:22Z","due_on":"2018-02-23T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-02-06T16:18:32Z","updated_at":"2018-02-06T21:08:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Suggested by @dotnetjunkie on [simpleinjector/SimpleInjector \\#510](https://github.com/simpleinjector/SimpleInjector/issues/510#issuecomment-363378953) ...\r\n\r\n> I would advise against using Simple Injector as example for demonstrating IMiddlewareFactory in the ASP.NET Core documentation. I think the model described in the Simple Injector documentation is simpler and more practical. I don't see any benefits in implementing a custom IMiddlewareFactory when using Simple Injector. Try to find a different DI Container where this integration point actually makes sense.\r\n\r\ncc/ @davidfowl"},"comment":{"url":"https://api.github.com/repos/aspnet/Docs/issues/comments/363565029","html_url":"https://github.com/aspnet/Docs/issues/5376#issuecomment-363565029","issue_url":"https://api.github.com/repos/aspnet/Docs/issues/5376","id":363565029,"user":{"login":"guardrex","id":1622880,"avatar_url":"https://avatars1.githubusercontent.com/u/1622880?v=4","gravatar_id":"","url":"https://api.github.com/users/guardrex","html_url":"https://github.com/guardrex","followers_url":"https://api.github.com/users/guardrex/followers","following_url":"https://api.github.com/users/guardrex/following{/other_user}","gists_url":"https://api.github.com/users/guardrex/gists{/gist_id}","starred_url":"https://api.github.com/users/guardrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardrex/subscriptions","organizations_url":"https://api.github.com/users/guardrex/orgs","repos_url":"https://api.github.com/users/guardrex/repos","events_url":"https://api.github.com/users/guardrex/events{/privacy}","received_events_url":"https://api.github.com/users/guardrex/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T21:08:22Z","updated_at":"2018-02-06T21:08:22Z","author_association":"CONTRIBUTOR","body":"Spoke too soon! lol\r\n\r\n> If you decide to keep the current use case described, at the very least please refrain from using Simple Injector as example for this particular feature in your documentation, because it pushes Simple Injector users into a direction that is not best for Simple Injector users.\r\n\r\nReopening for work. @Rick-Anderson @scottaddie I'll take this one if that's ok with you."}}
{"actor":{"display_login":"guardrex"}}