Using the GAC

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
 
C

Christopher Kimbell

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
 

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

Top