Hi,
What are the main difference between private assemblies and shared assemblies?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
chirag pandyaPosted Mar 14, 2012, 2:56 AM
Shared assemblies:- The scope of shared assemblies is upto all application in server. for example crystal report .dll when you install it will reside in Global Assembly Cache. so all web application of that server can use crystal report functionality.
SenthilkumarPosted Mar 13, 2012, 1:57 AM
The shared assembly can be shared by the multiple application.
2) The private assembly has to be added for every application as reference
The shared assembly has to be added into the GAC folder. All the application can be access the assembly.
3) The private assembly cannot have the versions. The name should be different.
The shared assembly can have multiple versions and it will be identified by the strong name key.
The strong name key has to be assigned to the shared assembly. The sn.exe tool used to create the strong name key.
The gacutil.exe tool is used to install the shared assembly in GAC.
It will be stored into the C:\Windows\Assembly OR C:\Winnt\Assembly folder
The shared assembly will have its own identity like strong name, version, etc..,
If it is useful then mark it as "Accepted Answer"