Will not make calls from ASP.Net 5 Api Controller
drcrook1 opened this issue · comments
David Crook commented
This stack overflow question is not mine, however I have the exact same issue: http://stackoverflow.com/questions/30971186/net-hbase-rest-api-client-library-calling-from-mvc5-controller
I can get data back from a console application, but not from a web application.
Thanks,
~David
Thomas Jungblut commented
Can you attach a thread dump please?
David Crook commented
Resolved: Have to run calls on a background thread.
Pawel Pabich commented
Try the Async version and do not blokc (e.g. call Wait or Result) and await the result instead. The sync calls in the client simply call Result on async Api which deadlocks MVC