Pooled .Net pipelines
Hi,
I am expecting this pipeline to be pooled, but I can't see do***entation
that confirms this. How do I confirm which pipeline my component is running
in?
In some respects it behaves like it's pooled - I have to restart IIS to
clear out the old version of my component when I am developing it.
Now I want to take advantage of initialising certain things when it is
pooled - ie. not create objects every time in my pipeline component execute
method.
There doesn't seem to be an interface method to do this. Where do I
initialise my objects for best performance?
The constructor for my .Net object that implements the IPipelineComponent
interface seems to be called each time the pipeline is run - not what I
would expect from a pooled component.
Can someone please answer?
Thanks
Martin
|