Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 514 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 514 Bytes

EfCoreDeadlockTest

Sample Project for EfCore Issue 12407
Ef Core 2.1 causes a deadlock when using in a WPF Application and calling .Wait() on an async operation.

var query = context.Authors.Include(a => a.Books);

var t = query.ToListAsync();
t.Wait();           // Deadlock
return t.Result;

Deadlock in MainWindow.xaml.cs