469,928 Members | 1,864 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,928 developers. It's quick & easy.

Assemblies & DLLs?

Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX
directory. This directory has a sub-directory named \bin where in all
DLLs are stored. Are these DLLs which are stored in the \bin directory
known as Assemblies? Also is the \bin directory the Assembly Cache?

Thanks,

Arpan

Sep 9 '06 #1
4 1448
An "Assembly" is simply the compiled output or "basic unit of deployment" of
a .NET program. As such, in .NET, asseblies can either be .dll or .exe
files. A project's assembly and the private assemblies it references are
stored in the project's \bin folder.

Assemblies come in 2 "flavors", private and shared. All user defined
assemblies are private, by default (and reside in the project's \bin
folder). These assemblies are NOT registered into the GAC. There are a few
extra steps you must take to get an assembly ready for registration into the
GAC and then it can be added to the GAC. These assemblies are called shared
assemblies.

"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX
directory. This directory has a sub-directory named \bin where in all
DLLs are stored. Are these DLLs which are stored in the \bin directory
known as Assemblies? Also is the \bin directory the Assembly Cache?

Thanks,

Arpan

Sep 9 '06 #2
Scott, what is this GAC?

Arpan

Scott M. wrote:
An "Assembly" is simply the compiled output or "basic unit of deployment" of
a .NET program. As such, in .NET, asseblies can either be .dll or .exe
files. A project's assembly and the private assemblies it references are
stored in the project's \bin folder.

Assemblies come in 2 "flavors", private and shared. All user defined
assemblies are private, by default (and reside in the project's \bin
folder). These assemblies are NOT registered into the GAC. There are a few
extra steps you must take to get an assembly ready for registration into the
GAC and then it can be added to the GAC. These assemblies are called shared
assemblies.

"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX
directory. This directory has a sub-directory named \bin where in all
DLLs are stored. Are these DLLs which are stored in the \bin directory
known as Assemblies? Also is the \bin directory the Assembly Cache?

Thanks,

Arpan
Sep 9 '06 #3
Start here :
http://msdn.microsoft.com/library/de...emblycache.asp

For instructions on how to use the GAC :
http://support.microsoft.com/kb/315682/


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Scott, what is this GAC?

Arpan
Scott M. wrote:
>An "Assembly" is simply the compiled output or "basic unit of deployment" of
a .NET program. As such, in .NET, asseblies can either be .dll or .exe
files. A project's assembly and the private assemblies it references are
stored in the project's \bin folder.

Assemblies come in 2 "flavors", private and shared. All user defined
assemblies are private, by default (and reside in the project's \bin
folder). These assemblies are NOT registered into the GAC. There are a few
extra steps you must take to get an assembly ready for registration into the
GAC and then it can be added to the GAC. These assemblies are called shared
assemblies.

"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@m73g2000cwd.googleg roups.com...
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX
directory. This directory has a sub-directory named \bin where in all
DLLs are stored. Are these DLLs which are stored in the \bin directory
known as Assemblies? Also is the \bin directory the Assembly Cache?

Thanks,

Arpan

Sep 9 '06 #4
The Global Assembly Cache is a form of registry (not the same as the Windows
Registry) for shared Assemblies (assemblies that more than one program
uses). Rather than having the same .dll in several different \bin folders
of several different applications, the GAC provides a cental location and
means for maintaining multiple versions of an assembly.
"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Scott, what is this GAC?

Arpan

Scott M. wrote:
>An "Assembly" is simply the compiled output or "basic unit of deployment"
of
a .NET program. As such, in .NET, asseblies can either be .dll or .exe
files. A project's assembly and the private assemblies it references are
stored in the project's \bin folder.

Assemblies come in 2 "flavors", private and shared. All user defined
assemblies are private, by default (and reside in the project's \bin
folder). These assemblies are NOT registered into the GAC. There are a
few
extra steps you must take to get an assembly ready for registration into
the
GAC and then it can be added to the GAC. These assemblies are called
shared
assemblies.

"Arpan" <ar******@hotmail.comwrote in message
news:11**********************@m73g2000cwd.googleg roups.com...
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX
directory. This directory has a sub-directory named \bin where in all
DLLs are stored. Are these DLLs which are stored in the \bin directory
known as Assemblies? Also is the \bin directory the Assembly Cache?

Thanks,

Arpan

Sep 9 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Sundararajan | last post: by
12 posts views Thread by Mark Broadbent | last post: by
6 posts views Thread by Sam-I-Am | last post: by
8 posts views Thread by Jason | last post: by
1 post views Thread by Shiraz | last post: by
3 posts views Thread by Claudio Pacciarini | last post: by
2 posts views Thread by Joerg Toellner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.