What are the types of assemblies and where can u store them
and how ?

Answer Posted / kakarala sowjanya

*Single and Multi-File Assemblies:
There are several ways to group the various elements in an
assembly. You can group all elements (manifest, MSIL and
resources) in a single physical file or group them
separately in several files. An assembly that groups all
elements in a single file is called a single file assembly,
whereas the assembly that groups its elements in multiple
files is called a multi-file assembly.

A single-file assembly can be created by compiling the
application in Visual Studio .NET. The Visual Studio .NET
IDE for Visual Basic can only be used to create single-file
assemblies. Multifile assemblies can be created using
command-line compilers.

*Private and Shared Assemblies:
Private assemblies are those assemblies that are accessible
only to the applications residing in the same directory as
that of the assembly. When you create an assembly, it is
private by default. No other application can make use of
private assembly. For a private assembly to be accessible
by more than one application, you must copy the files of
the assembly separately into the folder in which the other
application resides.

Shared assemblies are assemblies added to the GAC (Global
Assembly cache). GAC is used to store assemblies and to
share them between multiple applications. IN the shared
system, the names of the assemblies should be unique as it
can be accessed by all applications. The newer versions of
the component should also have unique names. These can be
achieved by using a strong name for the assembly. A shared
assembly is placed in the GAC folder that is reserved for
shared assemblies.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the methods used to render the views in mvc?

555


I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

2652


How to enable Attribute Routing?

619


What is web api‘s in asp.net mvc 4 ?

587


what is client wins and store wins mode in entity framework concurrency?

649






What type of filter does outputcacheattribute class represents?

678


What is entity framework firstordefault?

547


mention what is the difference between ado.net and classic ado?

571


Does windows 10 need .net framework?

531


What is attribute routing in mvc?

577


explain how you can load related entities in ef (entity framework)?

544


Explain the new features 3.5 framework against with the tool?

503


What is associationset? : Entity framework

568


Explain covariance and contra-variance in .net framework 4.0. Give an example for each.

579


Can you explain model, controller and view in mvc?

567