{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/HttpClientFactory/issues/55","repository_url":"https://api.github.com/repos/aspnet/HttpClientFactory","labels_url":"https://api.github.com/repos/aspnet/HttpClientFactory/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/HttpClientFactory/issues/55/comments","events_url":"https://api.github.com/repos/aspnet/HttpClientFactory/issues/55/events","html_url":"https://github.com/aspnet/HttpClientFactory/issues/55","id":292054256,"node_id":"MDU6SXNzdWUyOTIwNTQyNTY=","number":55,"title":"Support libraries not just applications","user":{"login":"normj","id":1653751,"node_id":"MDQ6VXNlcjE2NTM3NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1653751?v=4","gravatar_id":"","url":"https://api.github.com/users/normj","html_url":"https://github.com/normj","followers_url":"https://api.github.com/users/normj/followers","following_url":"https://api.github.com/users/normj/following{/other_user}","gists_url":"https://api.github.com/users/normj/gists{/gist_id}","starred_url":"https://api.github.com/users/normj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normj/subscriptions","organizations_url":"https://api.github.com/users/normj/orgs","repos_url":"https://api.github.com/users/normj/repos","events_url":"https://api.github.com/users/normj/events{/privacy}","received_events_url":"https://api.github.com/users/normj/received_events","type":"User","site_admin":false},"labels":[{"id":711957007,"node_id":"MDU6TGFiZWw3MTE5NTcwMDc=","url":"https://api.github.com/repos/aspnet/HttpClientFactory/labels/restraint%20is%20the%20greatest%20of%20all%20virtues","name":"restraint is the greatest of all virtues","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-01-26T22:44:53Z","updated_at":"2018-09-12T16:04:03Z","closed_at":"2018-02-22T06:14:32Z","author_association":"NONE","body":"With this being all in one package that ties the HttpClient caching, the DI extension methods and targeting netcorestandard2.0 it makes it hard for class libraries to pull in just the IHttpClientFactory support. \r\n\r\nFor example the [AWS SDK for .NET](https://github.com/aws/aws-sdk-net) which targets .NET Standard 1.3 would not be able to use this library. That is unfortunate because dealing with the HttpClient lifecycle issues is one of our biggest challenges. We don't want to add the other Microsoft.Extension packages dependencies to our SDK though.\r\n\r\nWould it be possible to move the code for IHttpClientFactory and its implementation into a separate nuget package targeting .NET Standard 1.3 or less and move the DI extension methods into a separate package? That way IHttpClientFactory becomes useful for things besides ASP.NET Core applications.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/HttpClientFactory/issues/comments/420704326","html_url":"https://github.com/aspnet/HttpClientFactory/issues/55#issuecomment-420704326","issue_url":"https://api.github.com/repos/aspnet/HttpClientFactory/issues/55","id":420704326,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDcwNDMyNg==","user":{"login":"tmenier","id":1350414,"node_id":"MDQ6VXNlcjEzNTA0MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1350414?v=4","gravatar_id":"","url":"https://api.github.com/users/tmenier","html_url":"https://github.com/tmenier","followers_url":"https://api.github.com/users/tmenier/followers","following_url":"https://api.github.com/users/tmenier/following{/other_user}","gists_url":"https://api.github.com/users/tmenier/gists{/gist_id}","starred_url":"https://api.github.com/users/tmenier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmenier/subscriptions","organizations_url":"https://api.github.com/users/tmenier/orgs","repos_url":"https://api.github.com/users/tmenier/repos","events_url":"https://api.github.com/users/tmenier/events{/privacy}","received_events_url":"https://api.github.com/users/tmenier/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T16:04:03Z","updated_at":"2018-09-12T16:04:03Z","author_association":"NONE","body":"@martincostello Doesn't [SocketsHttpHandler.PooledConnectionLifetime](https://github.com/dotnet/corefx/issues/11224#issuecomment-394396643) effectively solve the same [problem](http://byterot.blogspot.com/2016/07/singleton-httpclient-dns.html) that handler rotation solves?"}}
{"actor":{"display_login":"tmenier"}}