{"action":"created","issue":{"url":"https://api.github.com/repos/Readify/Neo4jClient/issues/51","repository_url":"https://api.github.com/repos/Readify/Neo4jClient","labels_url":"https://api.github.com/repos/Readify/Neo4jClient/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/Readify/Neo4jClient/issues/51/comments","events_url":"https://api.github.com/repos/Readify/Neo4jClient/issues/51/events","html_url":"https://github.com/Readify/Neo4jClient/issues/51","id":31588373,"number":51,"title":"Deadlock occurs when calling ExecuteWithoutResults in ASP.NET","user":{"login":"radleta","id":134859,"avatar_url":"https://avatars.githubusercontent.com/u/134859?v=3","gravatar_id":"","url":"https://api.github.com/users/radleta","html_url":"https://github.com/radleta","followers_url":"https://api.github.com/users/radleta/followers","following_url":"https://api.github.com/users/radleta/following{/other_user}","gists_url":"https://api.github.com/users/radleta/gists{/gist_id}","starred_url":"https://api.github.com/users/radleta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radleta/subscriptions","organizations_url":"https://api.github.com/users/radleta/orgs","repos_url":"https://api.github.com/users/radleta/repos","events_url":"https://api.github.com/users/radleta/events{/privacy}","received_events_url":"https://api.github.com/users/radleta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cskardon","id":1875805,"avatar_url":"https://avatars.githubusercontent.com/u/1875805?v=3","gravatar_id":"","url":"https://api.github.com/users/cskardon","html_url":"https://github.com/cskardon","followers_url":"https://api.github.com/users/cskardon/followers","following_url":"https://api.github.com/users/cskardon/following{/other_user}","gists_url":"https://api.github.com/users/cskardon/gists{/gist_id}","starred_url":"https://api.github.com/users/cskardon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cskardon/subscriptions","organizations_url":"https://api.github.com/users/cskardon/orgs","repos_url":"https://api.github.com/users/cskardon/repos","events_url":"https://api.github.com/users/cskardon/events{/privacy}","received_events_url":"https://api.github.com/users/cskardon/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2014-04-15T20:32:02Z","updated_at":"2016-04-20T19:11:06Z","closed_at":null,"body":"It appears when you switched over to using the HttpClient from Microsoft.Net.Http you started calling the Async method. This causes a deadlock in ASP.NET as described on this Stackoverflow Q&A: http://stackoverflow.com/questions/15021304/an-async-await-example-that-causes-a-deadlock\r\n\r\nThere is a way to fix it. It's a serious problem though for those of us using the client to connect to Neo4j within the ASP.NET context.\r\n\r\nThe below article describes solutions to fix the problem. (See section around the heading \"Async All the Way\".)\r\n\r\nhttp://msdn.microsoft.com/en-us/magazine/jj991977.aspx\r\n\r\nUPDATE: Issue 44 has code which could be used to resolve this issue.\r\n"},"comment":{"url":"https://api.github.com/repos/Readify/Neo4jClient/issues/comments/212562444","html_url":"https://github.com/Readify/Neo4jClient/issues/51#issuecomment-212562444","issue_url":"https://api.github.com/repos/Readify/Neo4jClient/issues/51","id":212562444,"user":{"login":"tomaszguzialek","id":1483194,"avatar_url":"https://avatars.githubusercontent.com/u/1483194?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszguzialek","html_url":"https://github.com/tomaszguzialek","followers_url":"https://api.github.com/users/tomaszguzialek/followers","following_url":"https://api.github.com/users/tomaszguzialek/following{/other_user}","gists_url":"https://api.github.com/users/tomaszguzialek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszguzialek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszguzialek/subscriptions","organizations_url":"https://api.github.com/users/tomaszguzialek/orgs","repos_url":"https://api.github.com/users/tomaszguzialek/repos","events_url":"https://api.github.com/users/tomaszguzialek/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszguzialek/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T19:11:06Z","updated_at":"2016-04-20T19:11:06Z","body":"@cskardon My bad, I didn't use an async method there (still a newbie in it). I did that now and it seems to work! "}}