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
Full time contractual programming position (mostly scraping, databasing) Project Description: This is a full time contractual role needed for a sports advisory service. We ar

In what order do the events of an ASPX page execute. As a developer is it important to understand these events?   If you try to access it in Page_Load that is way previous than

Niles Video Inc. wants to create a website for online sales of movies (DVD and videotapes). People will be allowed to register as customers on the website and to update their store

I have a site that's already fully developed, and need to solve some small issue (Text editor posting error, and a Server error caused by some Nhibernate code.) Server Error in

What is XML? Extensible markup language (XML) is all about describing the data. Below is a XML which describes an invoice data. Shoes   12 10

WDS and MDT Deployment Server Training Project Description: I'm seeking someone who can Teach/Train me with MDT and WDS server. This Can be online teaching courses. I will

What is Dispose method in .NET? The .NET provides "Finalize" method in which we can clean up our resources. But relying on this is not always better so the best is to implement

How can you make a simple harmonic motion in visual basic 2010 where you will ask an input to the user and your output will be a moving pendulum and a graph. Also the displacement

What is the difference between Server.Transfer and response.Redirect? The difference  between the Server.Transfer and the response.Redirect them are as follows:- 1)Response.

Project Description: We are seeking experienced .NET developers (possibly certified) to work with us on several future projects. You will have to pass a simple test to be consid