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
How to return the JSON from action method in ASP.Net MVC?
Do you know about the new features in ASP.Net MVC 4 ?
Can we change web.config settings from iis?
what is msl?
How to answer for project questions..?
Which are the important namespaces used in ASP.Net MVC?
What are the advantages of razor view engine?
Explain tempdata in asp.net mvc?
How you can implement custom validation in asp.net MVC?
Is mvc 4 supporting windows azure sdk (software development kit) ?
The order of the filters that get executed, if the multiple filters are implemented?
How route table has been created in asp.net mvc?
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
What is entity framework in asp net?
In which assembly is the mvc framework defined?