What is an assembly?

Answer Posted / dotnetfox

Assembly is unit of deployment like EXE or a DLL.
--An assembly consists of one or more files (dlls, exe’s,
html files etc.), and
represents a group of resources, type definitions, and
implementations of those
types. An assembly may also contain references to other
assemblies. These
resources, types and references are described in a block of
data called a manifest.
The manifest is part of the assembly, thus making the
assembly self-describing.
---An assembly is completely self-describing.An assembly
contains metadata
information, which is used by the CLR for everything from
type checking and
security to actually invoking the components methods. As
all information is in the
assembly itself, it is independent of registry. This is the
basic advantage as
compared to COM where the version was stored in registry.
--- Multiple versions can be deployed side by side in
different folders. These
different versions can execute at the same time without
interfering with each
other. Assemblies can be private or shared. For private
assembly deployment, the
assembly is copied to the same directory as the client
program that references
it. No registration is needed, and no fancy installation
program is required.
---When the component is removed, no registry cleanup is
needed, and no uninstall
program is required. Just delete it from the hard drive.
---In 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 .NET applications on the machine.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between stored procedure vs function?

754


What is microsoft windows sharepoint services?

733


Can you explain page lifecycle in net?

695


How to turn off cookies for a page?

764


What is Razor View Engine

801






What are the different types of sessions in asp.net?

669


Why asp.net mvc is better than asp.net? : Asp.Net MVC

673


What’s the use of “GLOBAL.ASAX” file?

804


What is class and object in asp.net?

710


How are sessions stored?

724


What is localhost in asp.net?

763


How to do state management in ASP.NET?

781


What is form method?

674


Explain the server control events of asp.net ?

718


What is asp according to you?

718