473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 1576
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.