It sounds like you're talking about something similar to AppDomain
(Setup).SetShadowCopyFiles (now ShadowCopyDirectories on 2.0). Maybe you
can use some of it. 

http://blogs.msdn.com/junfeng/archive/2004/2/9.aspx 

Phil Wilson 

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of peter lin
Sent: Tuesday, December 20, 2005 6:09 PM
To: [email protected]
Subject: [ADVANCED-DOTNET] Runtime update assembly dll without stopping
host program

Dear all,
   We develop a system that cannot(better not) be stopped  while bug
fixed or rule changed.
I knew that default appdomain can not unload the targeting assembly dll
, the only way I can do is to develop a solution based on creating a new
appdomain,loading assemblies from configured file ,using filesystemwatch
to monitor this configured xml file and doing the remoting stuff.

Because I am not fammliar with remoting and appdomain manipulation at
that time, I skip the step to create a new appdomain ,I use the
following steps in the default appdomain.(loading assemblies from xml
file and using filesystemwatch to monitor configured file, once
configured file changed, I reload the targeting aeembly dll(with
different assmbly dll name,different class name but implement same
interface, it's a plugin framework)

I am still searching a new solution for this, I don't want to rename
assembly dll and class name, so I am think SOA, but it has a performance
issue. I am thinking scripting, so I check ironpython solution, I want
to rewrite some stuff in python and execute it from pythonhost engine.
I am at the process to find a better solution for this subject.

Have you here ever faced the same problem that you can not stop your
host program while bug fixed or something changed?
Could you share your experience?

Best regards Peter

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to