|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
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 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. Show quoteHide quote "Arpan" <arpan***@hotmail.com> wrote in message news:1157767386.910750.295050@m73g2000cwd.googlegroups.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 > Scott, what is this GAC?
Arpan Scott M. wrote: Show quoteHide quote > 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" <arpan***@hotmail.com> wrote in message > news:1157767386.910750.295050@m73g2000cwd.googlegroups.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 > > Start here :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconglobalassemblycache.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/ =================================== Show quoteHide quote "Arpan" <arpan***@hotmail.com> wrote in message news:1157813056.539683.254070@m79g2000cwm.googlegroups.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" <arpan***@hotmail.com> wrote in message >> news:1157767386.910750.295050@m73g2000cwd.googlegroups.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 >> > > 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. Show quoteHide quote "Arpan" <arpan***@hotmail.com> wrote in message news:1157813056.539683.254070@m79g2000cwm.googlegroups.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" <arpan***@hotmail.com> wrote in message >> news:1157767386.910750.295050@m73g2000cwd.googlegroups.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 >> > >
Other interesting topics
Tiered architecture question
Access to the path is denied Dynamic table and postback Passing errors - not in the url Best way to handle a bad parameter in the url? Proxy Class Property? Help with populating a questionnaire! adding child controls problem A New Language for ASP.NET Set focus to a control inside a Updatepanel in Atlas |
|||||||||||||||||||||||