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

How you deploy .NET assemblies

1 Answers  


What happens when you encounter a continue statement inside the for loop ?

1 Answers  


In which testing using in .net framwork?

2 Answers  


What is stateless model?

0 Answers  


How we can call a javascript function on the change of a dropdown list in mvc?

0 Answers  






What’s the advantage of using System.Text.StringBuilder over System.String?

4 Answers   IBM,


What was the problem in traditional component why side by side execution is supported in .net ?

1 Answers   MMTS,


what is entity framework advantage?

0 Answers   Microsoft,


What is the difference between tempdata and viewbag?

0 Answers  


What are the properties of Thread class?

1 Answers  


Explain what platforms does the .net framework run on?

0 Answers  


Where are the value-type variables allocated in the computer RAM ?

1 Answers  


Categories