473,947 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Assemblies Vs. DLLs

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 assemblies and DLLs. whts the demarcation
line lying between the assemblies and DLLs

Regards,
--
S.Sundararajan
Jul 21 '05 #1
3 1564
Theoretically, C# compiler can produce multi-file assemblies, that is
assemblies consisting of several physical DLLs. All internal types in such
assemblies are visible throughout the (logical) assembly, even if the client
code is physically residing in another DLL. But I never saw a multi-file
assembly and VS.NET can't produce them.

So, it won't be too much of the oversimplificat ion to say that Assembly ==
DLL | EXE.

HTH,
Alexander

"Sundararaj an" <su**********@d iscussions.micr osoft.com> wrote in message
news:03******** *************** ***********@mic rosoft.com...
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 assemblies and DLLs. whts the demarcation
line lying between the assemblies and DLLs

Regards,
--
S.Sundararajan

Jul 21 '05 #2
Hi,
Assemblies are not LOGICAL DLLs but they are LOGICAL COMPILED UNIT which may
contain .Net TYPEs (class, structure, enum anything), Metadata and much
more.

An single file assemblies may have a single DLL or EXE but multi-file
assemblies may have multiple DLLs and other files in one assembly.

HTH,
Mahesh Devjibhai Dhola
"Empower yourself..."
"Sundararaj an" <su**********@d iscussions.micr osoft.com> wrote in message
news:03******** *************** ***********@mic rosoft.com...
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 assemblies and DLLs. whts the demarcation
line lying between the assemblies and DLLs

Regards,
--
S.Sundararajan

Jul 21 '05 #3
A DLL (or EXE) is a unit of physically deployable code.

An assembly is an abstract concept. There is not necessarily a 1-to-1
relationship between an assembly and a physical item in your file system
(although most assemblies ARE just a single file in your file system).
It is a grouping of modules that should be treated with the same
security and version. You cannot create security policies, or version
information, for a unit smaller than an assembly.

Joshua Flanagan
http://flimflan.com/blog

Sundararajan wrote:
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 assemblies and DLLs. whts the demarcation
line lying between the assemblies and DLLs

Regards,

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4505
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 "Let Users Add Functionality to Your .NET Applications with Macros and Plug-Ins" article at MSDN for the dynamic loading of DLLs http://msdn.microsoft.com/msdnmag/issues/03/10/Plug-Ins/default.aspx
6
2553
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 being used by another process" It seems I have to restart IIS to update the GAC assemblies. This is not a possibility. How else can I update the assemblies without a restart? How can I determine what process/app is holding the reference to my...
8
1554
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). This made it easy to update an area of the product and deploy that assembly (along with it's associated Business Layer assembly). In 2.0, I can use pure dynamic compilation (ick - source code on the server); fixed_names (ick - hundreds or...
3
267
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 assemblies and DLLs. whts the demarcation line lying between the assemblies and DLLs Regards, -- S.Sundararajan
1
1698
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 question I asked. Below I've copy-pasted the log of the last post. It's an interesting problem, and it might well be worth reading if you are willing to be patient. As always, I would appreciate your comments immensely
3
2087
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 depot. Although they are different, in some of them we share C# code by referencing source files that are external (not part of the projects) on each project. For instance, some of our projects have the typical “sources” file with:
4
1602
by: Arpan | last post by:
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
2
4040
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 and DLLs in the app directory itself. All works fine with MSVC2005 Pro PRE SP1. I packed into my app-zip also the Microsoft.VC80.CRT.manifest file and the redist-dll msvcr80.dll (i got them
7
2561
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 the compiler once, and create only one DLL. My new requirement tells me that I need to be more dynamic... that I can't queue up all of these functions... I actually need to do them more on demand. The number of times this happens can be as...
0
10163
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9982
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11165
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10692
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9888
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7430
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6116
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6332
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4538
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.