3

Let's say I have one web-application with n SiteCollections.

Now I have a feature, which includes a singleton class. Does every SiteCollection have their own context and their own Instance of this class or is the singleton "Web-Application-Wide"?

Stecya
  • 22,896
  • 10
  • 72
  • 102
LMW-HH
  • 1,193
  • 2
  • 15
  • 31

1 Answers1

1

Okay, I found it on my own: Yes, the singelton is the same for every site-collection, because there are all running in the same iis application-pool.

LMW-HH
  • 1,193
  • 2
  • 15
  • 31