How .net assemblies are registred as private and shared
assembly ?
Answers were Sorted based on User's Feedback
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 |
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 |
What is namespaces
What are the major improvements provided by the common language runtime and the base class libraries? Or what are the major improvements in .net framework 4.0?
Can you set the unlimited length for "maxjsonlength" property in config?
If I have multiple filters implemented, what is the order in which these filters get executed?
Possible ways to prevent xss attacks on mvc application?
What is html.renderpartial?
Briefly describe the roles of clr in .net framework?
If you are using components in your application, how can you handle exceptions raised in a component ?
4 Answers Accenture, BirlaSoft,
what is entity data model?
What are the benefits of .net framework?
Is razor a server side?
explain why t4 entity is important in entity framework?