Define assembly-types of assembly, DOT NET Programming

Assignment Help:

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.


Related Discussions:- Define assembly-types of assembly

Implement singleton pattern in .net, How can we implement singleton pattern...

How can we implement singleton pattern in .NET ? The Singleton pattern basically focuses on having one and only one instance of the object running. Lets take an e.g. a windows

Asp .net facebook app project completion, Asp .net Facebook app project com...

Asp .net Facebook app project completion Project Description: We are a small development house in Singapore, and have a project which is 90 percent complete; thus our previou

Capstone .., Why isn''t there an allowed amount for nonfacility for code 27...

Why isn''t there an allowed amount for nonfacility for code 27405?

Application object and its difference from cache object, What is an applica...

What is an application object & how it is different from c ache object? The Application object can be used in many situations where we want the data to be shared across user

I want junior programmer, Project Description: I have various C# support...

Project Description: I have various C# support projects and no time, so I'm seeking for a junior programmer to help out. This intro project is a C# module to develop the UI a

Monitor object, What is a monitor object? Monitor objects are used to e...

What is a monitor object? Monitor objects are used to ensure that a block of code runs without being interrupted by code running on other threads. In other words, code in other

Difference between authentication and authorization, What is the difference...

What is the difference between Authentication and authorization? This is  a tricky question. These two concepts seem altogether same  but there is big  difference. The Authenti

Online portal for hotel n holidays, Project Description: It is online po...

Project Description: It is online portal for hotel n packages sales. The project requires to be built on sql, Jquery and c#. The project should be submitted with all coding a

Impersonation in asp.net, What is impersonation in ASP.NET? By default,...

What is impersonation in ASP.NET? By default, the ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you require to access ne

Is it good to distribute implementation to remoting client?, It's never tol...

It's never told  to distribute complete implementation at client, due to following shown  reasons:- 1) Anyone can use ILDASM and decrypt your logic. 2) It is a bad architectu

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd