Hi Patrick,
If I understand you correctly, you don't need to do anything with the GAC.
It sounds like these class libraries are producing an XML document and
something *from* the XML document using an XSL Transform. So, all you really
need to do is keep these objects (the XML document and the other object) in
memory, rather than re-creating them each time.
If you think of the assemblies in the GAC as a "factory" that produces these
things, you should be able to see that what you don't need is to keep an
instance of the "factory" in memory, but the things that it produces, so it
doesn't have to reproduce them.
In fact, these assemblies *do* remain cached in memory for some time after
you invoke them, by virtue of the .Net platform and Garbage Collection.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
The man who questions opinions is wise.
The man who quarrels with facts is a fool.
<pa************ *@gmail.com> wrote in message
news:11******** **************@ y43g2000cwc.goo glegroups.com.. .
Hi,
I have some application that use the same library in the gac. All these
application use the same xml document. I would like to keep that xml
document loaded in memoy and dont have to reload it all the time.
Same thing for a XslCompileTrans form object. It seems to be recompiles
each time I use It... I would like to keep it loaded after it has been
loaded once.
tnx
Patrick