How .net assemblies are registred as private and shared
assembly ?
Answer Posted / 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 |
Post New Answer View All Answers
Can you use Razor code in Javascript in ASP.Net MVC?
Can I use razor code in javascript in asp.net mvc?
How large is the .net framework 3.0?
What is viewstart page in mvc?
Explain what is asp.net mvc?
Is dapper faster than entity framework?
What are the advantages of asp.net mvc?
Explain covariance and contra-variance in .net framework 4.0. Give an example for each.
Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?
How do you handle variable number of segments in a route definition?
What are the advantages of razor view engine?
What is associationset? : Entity framework
what is linq to entities?
What is renderbody?
What is route config?