P
Pab
Hello,
I am confused with load assembly in AppDomain. I created ASP Web
application, same business logic is realized in custom DLLs, and I need to
load ones in my application. If I use ‘Load(assmblyRef)’ method of AppDomain
class, assembly is loaded but DLL file locked. I try to read DLL in byte[]
array and load assembly calling Load(byte[]) method. All are pretty, but in
contrast to calling Load(assmblyRef)’ method, calling Load(byte[]) method
results in assembly is loaded in domain each time (GetAssymles() method
brings assembly array which contains same versions of loading assembly). Can
anybody suggest approach how I can load custom dlls in application not
blocking DLL file.
I am confused with load assembly in AppDomain. I created ASP Web
application, same business logic is realized in custom DLLs, and I need to
load ones in my application. If I use ‘Load(assmblyRef)’ method of AppDomain
class, assembly is loaded but DLL file locked. I try to read DLL in byte[]
array and load assembly calling Load(byte[]) method. All are pretty, but in
contrast to calling Load(assmblyRef)’ method, calling Load(byte[]) method
results in assembly is loaded in domain each time (GetAssymles() method
brings assembly array which contains same versions of loading assembly). Can
anybody suggest approach how I can load custom dlls in application not
blocking DLL file.