{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5960","repository_url":"https://api.github.com/repos/aspnet/EntityFramework","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5960/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5960/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5960/events","html_url":"https://github.com/aspnet/EntityFramework/issues/5960","id":163551785,"number":5960,"title":"Asynchronous DB calls not working in Azure Elastic DB Pool","user":{"login":"shaulbehr","id":293329,"avatar_url":"https://avatars.githubusercontent.com/u/293329?v=3","gravatar_id":"","url":"https://api.github.com/users/shaulbehr","html_url":"https://github.com/shaulbehr","followers_url":"https://api.github.com/users/shaulbehr/followers","following_url":"https://api.github.com/users/shaulbehr/following{/other_user}","gists_url":"https://api.github.com/users/shaulbehr/gists{/gist_id}","starred_url":"https://api.github.com/users/shaulbehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaulbehr/subscriptions","organizations_url":"https://api.github.com/users/shaulbehr/orgs","repos_url":"https://api.github.com/users/shaulbehr/repos","events_url":"https://api.github.com/users/shaulbehr/events{/privacy}","received_events_url":"https://api.github.com/users/shaulbehr/received_events","type":"User","site_admin":false},"labels":[{"id":333904587,"url":"https://api.github.com/repos/aspnet/EntityFramework/labels/type-investigation","name":"type-investigation","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":{"login":"AndriySvyryd","id":6539701,"avatar_url":"https://avatars.githubusercontent.com/u/6539701?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriySvyryd","html_url":"https://github.com/AndriySvyryd","followers_url":"https://api.github.com/users/AndriySvyryd/followers","following_url":"https://api.github.com/users/AndriySvyryd/following{/other_user}","gists_url":"https://api.github.com/users/AndriySvyryd/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriySvyryd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriySvyryd/subscriptions","organizations_url":"https://api.github.com/users/AndriySvyryd/orgs","repos_url":"https://api.github.com/users/AndriySvyryd/repos","events_url":"https://api.github.com/users/AndriySvyryd/events{/privacy}","received_events_url":"https://api.github.com/users/AndriySvyryd/received_events","type":"User","site_admin":false},"assignees":[{"login":"AndriySvyryd","id":6539701,"avatar_url":"https://avatars.githubusercontent.com/u/6539701?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriySvyryd","html_url":"https://github.com/AndriySvyryd","followers_url":"https://api.github.com/users/AndriySvyryd/followers","following_url":"https://api.github.com/users/AndriySvyryd/following{/other_user}","gists_url":"https://api.github.com/users/AndriySvyryd/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriySvyryd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriySvyryd/subscriptions","organizations_url":"https://api.github.com/users/AndriySvyryd/orgs","repos_url":"https://api.github.com/users/AndriySvyryd/repos","events_url":"https://api.github.com/users/AndriySvyryd/events{/privacy}","received_events_url":"https://api.github.com/users/AndriySvyryd/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/EntityFramework/milestones/24","html_url":"https://github.com/aspnet/EntityFramework/milestones/1.2.0","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/milestones/24/labels","id":2044943,"number":24,"title":"1.2.0","description":null,"creator":{"login":"rowanmiller","id":4741851,"avatar_url":"https://avatars.githubusercontent.com/u/4741851?v=3","gravatar_id":"","url":"https://api.github.com/users/rowanmiller","html_url":"https://github.com/rowanmiller","followers_url":"https://api.github.com/users/rowanmiller/followers","following_url":"https://api.github.com/users/rowanmiller/following{/other_user}","gists_url":"https://api.github.com/users/rowanmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/rowanmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowanmiller/subscriptions","organizations_url":"https://api.github.com/users/rowanmiller/orgs","repos_url":"https://api.github.com/users/rowanmiller/repos","events_url":"https://api.github.com/users/rowanmiller/events{/privacy}","received_events_url":"https://api.github.com/users/rowanmiller/received_events","type":"User","site_admin":false},"open_issues":120,"closed_issues":22,"state":"open","created_at":"2016-10-03T18:11:14Z","updated_at":"2016-11-04T20:02:37Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-07-03T07:50:02Z","updated_at":"2016-11-04T20:02:37Z","closed_at":"2016-11-04T20:02:37Z","body":"We have code that works in our development environment.  Simple entity save:\n\n```\n            DbContext.Add(entity);\n            await DbContext.SaveChangesAsync();\n```\n\nWhen we deployed this to an Azure App Service, connecting to our Elastic DB pool, this asynchronous call simply hung.  No exceptions thrown; the call simply never returned.  The Sql query didn't make it into the input buffer.\n\nWhen we changed our \"Save\" code to use synchronous calls, everything worked fine.  \nConclusion: asynchronous saving is not working in Azure.  Unclear whether it's because of the App Service or the Elastic Db Pool or a combination of the two - but I'll leave that to you to figure out.  ;-)\n"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/258533467","html_url":"https://github.com/aspnet/EntityFramework/issues/5960#issuecomment-258533467","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/5960","id":258533467,"user":{"login":"AndriySvyryd","id":6539701,"avatar_url":"https://avatars.githubusercontent.com/u/6539701?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriySvyryd","html_url":"https://github.com/AndriySvyryd","followers_url":"https://api.github.com/users/AndriySvyryd/followers","following_url":"https://api.github.com/users/AndriySvyryd/following{/other_user}","gists_url":"https://api.github.com/users/AndriySvyryd/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriySvyryd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriySvyryd/subscriptions","organizations_url":"https://api.github.com/users/AndriySvyryd/orgs","repos_url":"https://api.github.com/users/AndriySvyryd/repos","events_url":"https://api.github.com/users/AndriySvyryd/events{/privacy}","received_events_url":"https://api.github.com/users/AndriySvyryd/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T20:02:37Z","updated_at":"2016-11-04T20:02:37Z","body":"Closing this as there hasn't been a response. Feel free to reopen if the issues persists with the latest version."}}
{"actor":{"display_login":"AndriySvyryd"}}