C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






What is an assembly?


Posted Date: 09 Sep 2008    Resource Type: Definitions    Category: General

Posted By: Initiotech       Member Level: Gold
Rating:     Points: 5




•An Assembly is a logical unit of code
•Assembly physically exist as DLLs or EXEs
•One assembly can contain one or more files
•The constituent files can include any file types like image files, text files etc. along with DLLs or EXEs
•When you compile your source code by default the exe/dll generated is actually an assembly
•Unless your code is bundled as assembly it can not be used in any other application
•When you talk about version of a component you are actually talking about version of the assembly to which the component belongs.
•Every assembly file contains information about itself. This information is called as Assembly Manifest.




Responses

Author: Geetha    11 Sep 2008Member Level: Gold   Points : 2
There are two kind of assemblies in .NET;

* private
* shared

Private assemblies are simple and copied with each calling assemblies in the calling assemblies folder.

Shared assemblies (also called strong named assemblies) are copied to a single location (usually the Global assembly cache). For all calling assemblies within the same application, the same copy of the shared assembly is used from its original location. Hence, shared assemblies are not copied in the private folders of each calling assembly. Each shared assembly has a four part name including its face name, version, public key token and culture information. The public key token and version information makes it almost impossible for two different assemblies with the same name or for two similar assemblies with different version to mix with each other.

An assembly can be a single file or it may consist of the multiple files. In case of multi-file, there is one master module containing the manifest while other assemblies exist as non-manifest modules. A module in .NET is a sub part of a multi-file .NET assembly. Assembly is one of the most interesting and extremely useful areas of .NET architecture along with reflections and attributes, but unfortunately very few people take interest in learning such theoretical looking topics.

Reference:
http://www.c-sharpcorner.com/UploadFile/thiru_ji/1DotnetAssemblies02212007050300AM/1DotnetAssemblies.aspx


Author: Prafulla S Shimpi    12 Sep 2008Member Level: Gold   Points : 1
This is also nice article about assembly.

http://en.wikipedia.org/wiki/.NET_assembly



Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Assembly  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: What is Polymorphism
Previous Resource: What is assembly manifest?
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

Help Desk

Contact Us    Privacy Policy    Terms Of Use