Interviews3 answers
Explain the difference between a Private Assembly and a Shared Assembly
3 Answers
what is main difference between Public assembly and Sheared Assembly
if i am using using in same project by the Add reference it is working..
but if i am using in Different project then also i am able to use this assembly. so what is main difference between those Assembly.
Tell me sir..
Dinesh KumarPosted Sep 18, 2016, 5:16 AM EDT
Private Assembly:
1)Private assembly can be used by only one application.
2)Private assembly will be stored in the specific application's directory or sub-directory.
3)There is no other name for private assembly.
4)Strong name is not required for private assembly.
5)Private assembly doesn't have any version constraint.
Public Assembly:
1)Public assembly can be used by multiple applications.
2)Public assembly is stored in GAC (Global Assembly Cache).
3)Public assembly is also termed as shared assembly.
4)Strong name has to be created for public assembly.
5)Public assembly should strictly enforce version constraint.
Vinayak PatilPosted Nov 21, 2012, 5:35 AM EST
Please refer to the following URL to know the differences between Private Assembly and Shared Assembly,
http://onlydifferencefaqs.blogspot.in/2012/08/dotnet-framework-difference-faqs-3.html
Umar AliPosted Sep 1, 2012, 4:47 AM EDT
