472,952 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 software developers and data experts.

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 1555
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sundararajan | last post by:
Dear Folks, Most documentation say that Assemblies are logical DLLs. really getting confused about the assemblies and DLLs. can any one of u help me to get a clear distinction between...
12
by: Mark Broadbent | last post by:
Hi guys, just going through remoting at the moment and a couple of questions relating to .net in general has surfaced. Firstly I have seen in the designer that for the namespace and many of its...
9
by: Ender | last post by:
I have an application that I would like third party developers to be able to create Plug-ins that will be dynamically loaded into our application to extend functionality. I have utilized the...
6
by: Sam-I-Am | last post by:
Hi There I have several websites that use shared assemblies in the GAC. When I try and update the GAC assemblies I get the following error: "The process cannot access the file because it is...
8
by: Jason | last post by:
In my ASP.NET 1.1 solutions, I created several web projects and compiled them each into an assembly. The assembly names reflected the functionality of the feature (Membership.dll, Dues.dll, etc)....
1
by: Shiraz | last post by:
Hi It seems like none of the old posts get any follow up after a few messages, whether or not something constructive comes out of them, so I'm left with no choice but to repost an earlier...
3
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source...
2
by: Joerg Toellner | last post by:
Dear Group, i develop an app with MSVC++ 2005 pro. My app should not use any installation. It's only a "packing out the zip and run it"-installation. So i use private assemblies with manifests...
7
by: Bilz | last post by:
I am planning to use the CSharpCodeProvider to generate some compiled functions in my app. In my current implementation, All of these functions are generated in one swipe... thus they all invoke...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.