Using the GAC

  • Thread starter Thread starter John Wright
  • Start date Start date
J

John Wright

I develop client/server apps for a large company. We are switching to .NET
but one question we have is the use of the GAC. Although there will not be
many global assemblies, there will be some. Can we use one GAC on a network
server and have all the client machines access that assembly in that GAC?
If so how do we do this? I suspect we need to modify the machine.config
file, but I am not sure. We are trying to avoid installing assemblies on
each machine and having to keep track of them. We currently use COM object
through Remote Data Services to get around this. Any help would be great.

John
 
The GAC is only available locally.
Using the app.config file you can have an assembly located on a remote
server. Have a look at codeBase on MSDN.
Loading assemblies from a remote location has security implications, the
assembly will have reduced trust compared to if it was loaded from a local
disk.

Chris
 
Back
Top