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
What is V model in testing? The V model map's the type of test to the stage of development in the project. Figure: - V Model 1) Unit Testing: The Starting fro

What is DTD? The Document Type definition (DTD) defines how your XML should structure. For illustrate in the above XML we want to make it compulsory to provide "qty" and "total

Describe all elements in Static Chart diagrams. Package: - The Package logically groups element of a UML model. Class: - The Class describes all set of objects with

Problem: (a) Define the term ViewState as used in the ASP.NET framework. (b) What is a StateBag class? Give a simple example to support your answer. (c) (i) Distingui

I want help to update and customize existing POS system Project Description: We have pharmacy chain stores with existing POS system linked via VPN to server with local user o

. write a program for displaying the total no of characters, words and sentences in a given file

What is the meaning of object pooling? Object pooling is a method of storing a pool (group) of objects in memory that can be reused later as needed. Whenever, a new object is n

What is XML DOM? The DOM stands for Document Object Model, which explains the logical formation of documents and provides the way to access and manipulate a document. It suppli

What is the use of "Must Inherit" keyword in VB.NET? If you want to create an abstract class in the VB.NET it is done by using the "MustInherit" keyword.You can't create an obj

I need Windows 8.1 Project, Asset management slate App Project Description: We are seeking a Windows 8 app developer with PROVABLE experience to prepare a project and asset m