0

i've been using structuremap since a couple of months. I always use ObjectFactory.GetInstance to take the right instance of the object i've to use.

Actually, i need to understand which is the default ObjectFactory's InstanceScope. Is it ThreadLocal?

do u know where i can read about it?

frabiacca
  • 1,402
  • 2
  • 16
  • 32

1 Answers1

1

first result on google for "structuremap lifecycle":

http://structuremap.github.com/structuremap/Scoping.htm

"PerRequest" is the default lifecycle if you didnt specify one in your registry

Andrew Bullock
  • 36,616
  • 34
  • 155
  • 231