From the web app, calls are made to a web service that in turn makes calls to a few static helper classes for filtering and sorting data – trying to think ahead if I will have unexpected behavior with multiple users
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make sure your static methods are thread-safe.
Thread safety fundamentally deals with ensuring that two threads don’t access a shared resource in a conflicting manner.
There’s a great overview on Wikipedia.
The best tutorial I have ever found about threading in the .NET environment is by Joe Albahari.