Garbage Collection, Static Fields, & Remoting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a Server Activated MarshalByRef Object Class that is being remoted from IIS. Lets call the Server Activate object Subcontracts. Subcontracts relies on a DLL file that contains a non-remoted class class that will hold static fields. Let's call this class SubcontractTypes. The static fields in SubcontractTypes will be filled from an XML file.

How will the .NET Framework handle the lifetime of these static fields in a remoting environment. If I fill these fields at application startup on the IIS side, once activated, will those values remain alive in IIS until the Web Site closes down or is restarted

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top