I
Ian Frawley
Hi
I have used the Activator class a number of times in my Windows apps and
Windows Services and was thinking of using it again in one of my web
services that I have been developing. I have been told that this is a bad
idea as it will greatly affect the performance of my web service. So I have
been thinking about it and all my other apps use the Activator class to
instantiate objects that hang around for the uptime of the app on start up,
whereas my web service will be using it to create and object each time it
needs one. This makes me think (obviously) that, this is where the
performance hit will take place.
So my question is: I will still be instantiating an object each time I need
one directly so will the activator class add much of an overhead to this
anyway?
If anyone knows of any useful articles on this topic I will be quite
grateful.
Regards
Ian
I have used the Activator class a number of times in my Windows apps and
Windows Services and was thinking of using it again in one of my web
services that I have been developing. I have been told that this is a bad
idea as it will greatly affect the performance of my web service. So I have
been thinking about it and all my other apps use the Activator class to
instantiate objects that hang around for the uptime of the app on start up,
whereas my web service will be using it to create and object each time it
needs one. This makes me think (obviously) that, this is where the
performance hit will take place.
So my question is: I will still be instantiating an object each time I need
one directly so will the activator class add much of an overhead to this
anyway?
If anyone knows of any useful articles on this topic I will be quite
grateful.
Regards
Ian