kmaragon / Konscious.Security.Cryptography

MIT License
201 stars 20 forks source link

Set ConfigureAwait to false in order to prevent blocking code #10

Closed WouterJanson closed 7 years ago

WouterJanson commented 7 years ago

We had a problem using the library in our website, it resulted in blocking code. Setting ConfigureAwait to false should eliminate this problem.

For more details see: https://msdn.microsoft.com/en-us/magazine/jj991977.aspx

kmaragon commented 7 years ago

Sorry I took some time away from this project. This is a way easier fix than I was thinking. I knew it'd be snagging IIS Expresses weird threads but didn't know this is all it'd take to get around it. Thanks for this!