Skip to content

Is there a synchronization context in ASP.NET (Core)? #62475

Answered by martincostello
MartyIX asked this question in Q&A
Discussion options

You must be logged in to vote

It's not necessary to do it, but doing it won't cause any issues. ASP.NET Core doesn't have a synchronization context. You can safely disable the CA2007 analyzer if that's what's prompting the question.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MartyIX
Comment options

Answer selected by MartyIX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
2 participants