The GAC is the Global Assembly Cache. It's primary purpose is to provide
a shared location where assemblies can be stored for reference by
multiple applications. For example the assemblies that contain the core
classes of .Net (like System, System.Data, ...) are stored there. I
don't know of any "good" references but Microsoft has a number of decent
articles that can point you in the right direction and there are plenty
of articles online for this. The two things I'd recommend searching for
are "Global Assembly Cache" and "Strong Name" (the latter is necessary
for the former).
Here's a couple of links you can get started with:
http://support.microsoft.com/kb/815808 http://www.microsoft.com/resources/d...emblycache.asp http://msdn.microsoft.com/library/de...emblycache.asp
Have A Better One!
John M Deal, MCP
Necessity Software
Quentin Huo wrote:
Hi,
Thank you very much!
I am a novice on .net. Can you tell me what the GAC is? And if possible, can
you introduce me some websites or materials that talking about how to do it?
Thanks
Q.
"John M Deal" <jo******@necessitysoftware.com> wrote in message
news:eW**************@TK2MSFTNGP15.phx.gbl...
If you want to share the physical assemblies as opposed to sharing the
data that they contain you could simply install them into the GAC. This
way you'd only have to deploy the assemblies once and reference them from
each project. Hope that helps.
Have A Better One!
John M Deal, MCP
Necessity Software
Quentin Huo wrote:
Hi:
I have two web sites in my IIS. I want them to share or use one set of
classes that I created, because they have same functions that the
classses provide. And maybe in the future I will create more web sites to
use the set of classes. But I don't know how to do this. Where do I need
to put the set of classes? Do I have to make them be DLLs?
Thanks
Q.