Reputation: 2971
I'm getting
System.NotSupportedException: A second operation started on this context before a previous asynchronous operation completed. Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context. Any instance members are not guaranteed to be thread safe.
Totally get it, I know how to solve it in theory, that's not the problem. But for the life of me I can't find the actual operation causing the block.
This is in production, under medium loads. I can't reproduce it while debugging. So I need some way of throwing information about uncompleted EF requests.
Thanks!
Upvotes: 3
Views: 257
Reputation: 514
I'm not sure, but maybe DNT Profiler help you for monitoring and profiling EF opereations.
Upvotes: 3