Hey everyone, Wish you merry Xmas and an excellent 2010
Well once again need ur help and advices to understand a tricky issue.
I got a shared assembly (say SharedAssembly.dll) installed in the GAC, this assembly exposes a module (static class vb equivalent) called CustomSettings inluding some properties to set Log path, DataBase connection string and some other behavior stuff.
Say u have a ASP.NET web service referecing this SharedAssembly.dll
Say u have a .Net application referencing the web serivce and SharedAssemlbly.dll
Before calling any web service method, the .Net application assign values to exposed and shared properties.
Once the web service called and within it, obviously the effective referenced assembly is not the typically the same (shadow copy done by binding mechanism thought?) and all initialization done in the .net application before calling the web service is useless!
Thought that is ASP.NET application dedicated AppDomain isolate the referenced dll.
How may I work around this ? Allready passed a huge amount of time reading and reading, but can't find the best way to do this properly.
Thank u for ur hêlp
Well once again need ur help and advices to understand a tricky issue.
I got a shared assembly (say SharedAssembly.dll) installed in the GAC, this assembly exposes a module (static class vb equivalent) called CustomSettings inluding some properties to set Log path, DataBase connection string and some other behavior stuff.
Say u have a ASP.NET web service referecing this SharedAssembly.dll
Say u have a .Net application referencing the web serivce and SharedAssemlbly.dll
Before calling any web service method, the .Net application assign values to exposed and shared properties.
Once the web service called and within it, obviously the effective referenced assembly is not the typically the same (shadow copy done by binding mechanism thought?) and all initialization done in the .net application before calling the web service is useless!
Thought that is ASP.NET application dedicated AppDomain isolate the referenced dll.
How may I work around this ? Allready passed a huge amount of time reading and reading, but can't find the best way to do this properly.
Thank u for ur hêlp