Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Difference between Public and Private Assembly?
Question Posted on 19 Nov 2021

Home >> DotNet >> ASP.NET >> Difference between Public and Private Assembly?




Difference between Public and Private Assembly?
Below are the some of common difference between Public and Private Assembly.
0
0

Base of differencePublic AssemblyPrivate Assembly
Number of applicationPublic assembly can be used by multiple applications.On the other hand private assembly can be used by one application.
LocationPublic assembly is generlly stored at Global Assembly Cache(GAC).On the other hand private assembly can be stored in any specific application directory or in sub directory.
Strong NameWe will create a strong name for Public assembly.On the other hand no strong name is required for private assemble.
Version constraintPublic assembly should strictly enforce version constraint.Private assembly doesn't have any version constraint.
Other NameOther name of Public assembly is shared assembly.There is no other name for private assembly
ExampleTo understand public assembly we will take an example of actuate report classes which can be imported in the library and used by any application that prefers to implement actuate reports.On the other hand be default all assemblies we create are example of private assembly.Only when you associate a strong name to it and store it in GAC, it becomes a public assembly.


 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Use of Calendar control in dotnet with code
How to improve Front End UI performance of dotnet web application?
File upload in dotnet
reverse a string
function of garbage collector






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |