How .net assemblies are registred as private and shared
assembly ?

Answers were Sorted based on User's Feedback



How .net assemblies are registred as private and shared assembly ?..

Answer / prabhakar

Any assembly file (.net dll, .net exe ) is by default is
Private assembly. This means the assembly is visible only to
the application that loads/references it explicitly. Each
application that refers our private assembly will get its
own copy in its assembly.

Shared assembly is the assembly that is registered to the
GAC (Global Assembly Cache) that is part of the .Net
framework installed (under 'windows/assembly' directory) on
a system. We use 'gacutils.exe' binary to register the GAC
such as gacutil -i MyAssembly.exe. All applications those
reference a 'registered global assembly' would use the same
copy of the assembly present in the GAC. Hence it is called
'Shared assembly'.

Is This Answer Correct ?    2 Yes 0 No

How .net assemblies are registred as private and shared assembly ?..

Answer / vikas sharma

Private is a simple form af assembly.
Shared assembly used the GAXC and Strong name convention.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Dot Net Framework Interview Questions

what is code first approach?

0 Answers   Microsoft,


Which version of the common language runtime (clr) does the .net framework 3.0 use?

0 Answers  


Mention two instances where routing is not implemented or required?

0 Answers   Infosys,


What is reflection?

5 Answers   Accenture, Merrill Lynch, Microsoft,


Explain linq to entities? : Entity framework

0 Answers  






Explain what is the difference between view and partial view?

0 Answers  


what is entityclient?

0 Answers   Microsoft,


Microsoft introduced c# as a de facto language of the .NET platform. What is mean by de facto and fot what purpose? Please answer me. Advance thanks.

3 Answers   Excel,


Speaking of Boolean data types, what's different between C# and C/C++ ?

1 Answers  


What is difference between constants, readonly and, static

1 Answers  


How does assembly versioning work?

1 Answers  


How do you specify comments using razor syntax?

0 Answers  


Categories