Hi again Todd. I see how you solved it. So actually transferring the data necessary for
the rendering from the plugin domain to the main app domain was the performance
bottleneck so you decided to do all the rendering in the plugin domain instead
using a special parent window created in the main domain.
Sorry to ask a second time but ... Have you ever had a problem that objects created
in your plugin app domains just don't get renewed by sponsors living in the main app domain.
Or you just didn't use sponsors in the main app domain for the objects/leases created in the
plugin app domains How did you manage the lifetime of the remote objects from the plugin
app domains Did you just specify infinite lifetime for these objects
In our application we have the load/unload feature which can at runtime load/unload a whole
"plugin directory/folder" and instantiate the appropriate objects (in our app they are subclasses
of 2 base classes called "Server" and "Job"). For that reason I don't want to specify
infinite lifetime for the remote objects instantiated in the plugin domains. Instead I use
one sponsor in the main app domain per one plugin app domain. So this sponsor is
sponsoring all remote objects from that plugin domain. Unfortunately at some point of time
the sponsor's Renewal() method just stops being called and I cannot figure out why.
Will be happy with any ideas from your side. I am almost ready to bet that you've had similar
issues as mine at some point of time (unless you used infinite lifetime, as said).
As I mentioned already a full description of my problem can be found here:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=897805&SiteID=1
Give it a look if you have the time. Thanks in advance.
Regards.