Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: ToListAsync doesn't return with await

$
0
0

So the first one DOESN'T work (doesn't give you a print out of the hotel property names and the second one does, and you question is why doesn't the first on do so.

Checkout this entry on Stackoverflow

stackoverflow.com/questions/9208921/async-on-main-method-of-console-app

Looks like its because of a quirk of the way that console apps run on the UI Thread...  Well I learned something new today...


Viewing all articles
Browse latest Browse all 1793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>