Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure await false everywhere #247

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

james-fairbairn
Copy link

@james-fairbairn james-fairbairn commented Dec 19, 2024

Using the library as is causes .NET Framework MVC sites to deadlock.

As per the excellent Stephen Cleary (https://blog.stephencleary.com/2012/07/dont-block-on-async-code.html) when targeting .NET framework;

In your "library" async methods, use ConfigureAwait(false) wherever possible.

@cnblogs-dudu cnblogs-dudu changed the title Configure await false eveywhere Configure await false everywhere Dec 19, 2024
@cnblogs-dudu cnblogs-dudu merged commit 33215f2 into cnblogs:main Dec 19, 2024
1 check passed
cw-sanikachavan pushed a commit to carwale/EnyimMemcachedCore that referenced this pull request Jan 17, 2025
refactor: configure await false everywhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants