{"action":"created","issue":{"url":"https://api.github.com/repos/SolrNet/SolrNet/issues/402","repository_url":"https://api.github.com/repos/SolrNet/SolrNet","labels_url":"https://api.github.com/repos/SolrNet/SolrNet/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/SolrNet/SolrNet/issues/402/comments","events_url":"https://api.github.com/repos/SolrNet/SolrNet/issues/402/events","html_url":"https://github.com/SolrNet/SolrNet/issues/402","id":302354204,"number":402,"title":"No example or code for BasicAuthentication","user":{"login":"dbeletsis","id":11520299,"avatar_url":"https://avatars1.githubusercontent.com/u/11520299?v=4","gravatar_id":"","url":"https://api.github.com/users/dbeletsis","html_url":"https://github.com/dbeletsis","followers_url":"https://api.github.com/users/dbeletsis/followers","following_url":"https://api.github.com/users/dbeletsis/following{/other_user}","gists_url":"https://api.github.com/users/dbeletsis/gists{/gist_id}","starred_url":"https://api.github.com/users/dbeletsis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbeletsis/subscriptions","organizations_url":"https://api.github.com/users/dbeletsis/orgs","repos_url":"https://api.github.com/users/dbeletsis/repos","events_url":"https://api.github.com/users/dbeletsis/events{/privacy}","received_events_url":"https://api.github.com/users/dbeletsis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/SolrNet/SolrNet/milestones/6","html_url":"https://github.com/SolrNet/SolrNet/milestone/6","labels_url":"https://api.github.com/repos/SolrNet/SolrNet/milestones/6/labels","id":3195854,"number":6,"title":"1.0.8","description":null,"creator":{"login":"gjunge","id":194466,"avatar_url":"https://avatars2.githubusercontent.com/u/194466?v=4","gravatar_id":"","url":"https://api.github.com/users/gjunge","html_url":"https://github.com/gjunge","followers_url":"https://api.github.com/users/gjunge/followers","following_url":"https://api.github.com/users/gjunge/following{/other_user}","gists_url":"https://api.github.com/users/gjunge/gists{/gist_id}","starred_url":"https://api.github.com/users/gjunge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjunge/subscriptions","organizations_url":"https://api.github.com/users/gjunge/orgs","repos_url":"https://api.github.com/users/gjunge/repos","events_url":"https://api.github.com/users/gjunge/events{/privacy}","received_events_url":"https://api.github.com/users/gjunge/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2018-03-18T15:05:20Z","updated_at":"2018-03-18T15:05:35Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-03-05T15:54:59Z","updated_at":"2018-03-18T15:07:08Z","closed_at":"2018-03-18T15:05:14Z","author_association":"NONE","body":"Hi,\r\n\r\nI cant find any reference on how i can set basic authentication credentials when initializing SolrNet in a asp.net core 2.0 project.\r\n\r\nI am using SolrNet,Microsoft DependencyInjection package with the following code in Starup.cs\r\n\r\nservices.AddSolrNet(\"http://localhost:81/solr\");\r\n\r\nPlease help!\r\nWith regards,\r\nDimitris"},"comment":{"url":"https://api.github.com/repos/SolrNet/SolrNet/issues/comments/374006493","html_url":"https://github.com/SolrNet/SolrNet/issues/402#issuecomment-374006493","issue_url":"https://api.github.com/repos/SolrNet/SolrNet/issues/402","id":374006493,"user":{"login":"gjunge","id":194466,"avatar_url":"https://avatars2.githubusercontent.com/u/194466?v=4","gravatar_id":"","url":"https://api.github.com/users/gjunge","html_url":"https://github.com/gjunge","followers_url":"https://api.github.com/users/gjunge/followers","following_url":"https://api.github.com/users/gjunge/following{/other_user}","gists_url":"https://api.github.com/users/gjunge/gists{/gist_id}","starred_url":"https://api.github.com/users/gjunge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjunge/subscriptions","organizations_url":"https://api.github.com/users/gjunge/orgs","repos_url":"https://api.github.com/users/gjunge/repos","events_url":"https://api.github.com/users/gjunge/events{/privacy}","received_events_url":"https://api.github.com/users/gjunge/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T15:07:08Z","updated_at":"2018-03-18T15:07:08Z","author_association":"COLLABORATOR","body":"In the next release, 1.0.8 (somewhere this week I guess), you can now control the HttpClient during service configuration.\r\nSee https://github.com/SolrNet/SolrNet/blob/master/Microsoft.DependencyInjection.SolrNet.Tests/MicrosoftDependencyFixture.cs#L112 for an example on how to set basic Authentication headers."}}
{"actor":{"display_login":"gjunge"}}