Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
In the WebRequesterBasic class, we have the following method:
A GUI client (such as a Windows Forms app) or an MVC client will deadlock if it calls the method as follows:
Mixing synchronous and asynchronous waiting is dangerous, see, for example http://blog.stephencleary.com/2012/07/dont-block-on-async-code.html
There are instances of synchronous blocking in
Do the following options work for you?
1.override the SynchronizationContext
var sc = new SynchronizationContext();
Could you either add a warning to the documentation asking users to not call methods like