I have SQL Server Express 2013 and I am using EF6 that has async methods to interact with the database. I am using a code like this:
Task<List<MyType>> tskResult = Repository.getMyTypeAll();
Task.WaitAll(tskResult);
Where getMyTypeAll return all the records from a table. The problem is that in the second line, the code is awating all the time, is blocked. It seems that the repository does not get response from the database with the result.
So I am wokdering if I need to configure some parameter in my database to allow the async comumunication or is something that I would have by default.