ahmed elbarbary

ahmed elbarbary

  • 951
  • 1.5k
  • 118.4k

How to handle multithread on singleton pattern ?

Oct 16 2021 10:34 PM

I work on web api with asp.net core 3.1 I use singelton pattern on my web app

so my question is 

on singlton pattern  objects are the same for every object and every request so

How to handle multithread on singleton pattern ?


Answers (2)