Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Valid points, but in this case there is no "user code" between the entry point (SignalR Hub) and my code. Btw, even Microsoft have thread safe classes that are not static classes Commented Apr 1, 2015 at 20:52
  • Oh, does the use mean the instance gets shared by SignalR Hub? (I don't know SignalR at all). That would make it fall into the case in my second last paragraph above. In that case I'd still recommend not locking on this though, just as general good practice. Commented Apr 1, 2015 at 22:16