c# - ConfigureAwait(false) in WebAPI controller -


should sonarlint fire s3216 in asp.net web api controller? seems rule desktop applications, in asp.net context totally different, there's no danger of deadlocks. or missing something?

@victorgrigoriu, checking if output kind of compilation unit dll or not, , report issues in dlls. right report on cases when in dll still need switch original context. in general it's hard thing figure out, add check top level web app assemblies. need come way or disable rule default not generate false positives.

i've created ticket track problem: https://jira.sonarsource.com/browse/slvs-790.

other options until come permanent solution: can disable rule locally on given project if feel it's annoyance. that, you'll need edit project's ruleset file through "references/analyzers/open active rule set"


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -