Define assembly-types of assembly, DOT NET Programming

Assembly:

1) Assembly is a unit of deployment such as EXE or a DLL.

2) An assembly consists one or more files (dlls, exe's, html files etc.),& represents a group of resources, type definitions,& implementations of those types. An assembly may also contains references to the other assemblies. These resources, types & references are all described in a block of data known as manifest. The manifest is the part of the assembly, and thus making the assembly self-describing.

3) An assembly is completely self-explainable.An assembly contains information of metadata, which is used by the CLR for everything from the type checking and the security to actually invoking the components methods. since all information is in the assembly itself, is independent of registry. This is the most basic advantage as compared to COM where the version was stored in the registry.

4) Multiple versions can deploy side by side in different folders. These all different versions can execute at the same time without interfering to one another. Assemblies can be divided into private or shared. For making private assembly deployment, the assembly is copied to the same directory as the client program that references it. Not any registration is needed, nor any fancy installation program is required. When the component is removed, no registry cleanup is required, and no uninstall of program is required. Just delete it from  hard drive.

5) In case of shared assembly deployment, an assembly is installed in the Global Assembly Cache (or GAC). The GAC contains shared assemblies that are globally accessible to all applications of .NET.

Types of Assembly:
We have two types of assemblies: Private and Public assembly. private assembly is normally used by  single application, and is stored in the application's directory, or a sub-directory beneath. while shared assembly is normally stored in the global assembly cache, which is a repository of assemblies maintained by the .NET runtime. Shared assemblies are usually the libraries of code which many applications will find useful, e.g. Crystal report classes which will be used by all the application for Reports.

Posted Date: 9/18/2012 6:35:09 AM | Location : United States







Related Discussions:- Define assembly-types of assembly, Assignment Help, Ask Question on Define assembly-types of assembly, Get Answer, Expert's Help, Define assembly-types of assembly Discussions

Write discussion on Define assembly-types of assembly
Your posts are moderated
Related Questions
Types of Transactions in COM + .NET There are 5 types of transactions that can be used with COM+.   An object is whenever registered with the COM+ it has to abide either to any

Need to develop a simple .net software I am seeking someone who can design a customized software for me, prefrebly in .NET. I have a sql server backend which i would like to use

I need a project which shows Paypal integration with ASP.net website We have events website written in C# and ASP.net. We want to integrate Paypal using API and have a full inte

What are wait handles? The Wait handles sends signals of a thread status from one thread to another thread. There are 3 kind of wait modes:- A)WaitOne. B)WaitAny. C)Wa

What is the relationship between a class and an object? A class acts as a blue-print that explains the properties, states, and behaviors that are common to a number of objects.

A few changes to OutloProject Description: We require someone who is familiar with programming plug-in to work with Microsoft Outlook. Initially we just require a simple chan

How do we configure "WebGarden"? The process model configured the "Web garden" settings in the "machine.config" or in the "Web.config" file. The configuration section is named

Describe the rules and regulations that must be followed whereas creating a well-formed XML document. The following are the rules and regulations that are essential to follow w

Custom Mql4 Code/Fxdreema block Project Description: I need the subsequent code written in mql4 and integrated as custom block(s) in fxdreema: for each trade: check pro

How do you implement prototype pattern in .NET? The Cloning is achieved by using the ICloneable of the System namespace. It has a "Clone" method that actually returns the refer